[Mesa-dev] [PATCH 12/12] aubinator: replace pragma once with ifndef guard

Emil Velikov emil.l.velikov at gmail.com
Tue Oct 11 17:26:26 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/intel/tools/decoder.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h
index 739f194..bbeaa0a 100644
--- a/src/intel/tools/decoder.h
+++ b/src/intel/tools/decoder.h
@@ -21,7 +21,8 @@
  * IN THE SOFTWARE.
  */
 
-#pragma once
+#ifndef DECODER_H
+#define DECODER_H
 
 #include <stdint.h>
 #include <stdbool.h>
@@ -103,3 +104,5 @@ void gen_field_iterator_init(struct gen_field_iterator *iter,
                              struct gen_group *group, const uint32_t *p);
 
 bool gen_field_iterator_next(struct gen_field_iterator *iter);
+
+#endif /* DECODER_H */
-- 
2.10.0



More information about the mesa-dev mailing list