summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/gen_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/genxml/gen_macros.h')
-rw-r--r--src/intel/genxml/gen_macros.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/genxml/gen_macros.h b/src/intel/genxml/gen_macros.h
index 1d591fa8066..b4941b971ac 100644
--- a/src/intel/genxml/gen_macros.h
+++ b/src/intel/genxml/gen_macros.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef GEN_MACROS_H
+#define GEN_MACROS_H
/* Macros for handling per-gen compilation.
*
@@ -87,3 +88,5 @@
#else
# error "Need to add prefixing macros for this gen"
#endif
+
+#endif /* GEN_MACROS_H */