summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/gen_macros.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-10-11 18:26:23 +0100
committerEmil Velikov <[email protected]>2016-10-14 11:53:39 +0100
commit76ae842366f1da575e556f20cb06995228a2e92b (patch)
tree038b0e14c52cd3b97e6763fe25355f493463c700 /src/intel/genxml/gen_macros.h
parent72e70c00f3855fbeaeffa14d24f7b2c47dfe572b (diff)
intel/genxml: use correct header guards
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Chad Versace <[email protected]>
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 */