Module: Mesa
Branch: master
Commit: 13bf390657921b7c07d2de320ff0aa43206cce11
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=13bf390657921b7c07d2de320ff0aa43206cce11

Author: Emil Velikov <emil.veli...@collabora.com>
Date:   Tue Oct 11 18:26:26 2016 +0100

aubinator: replace pragma once with ifndef guard

Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Sirisha Gandikota<sirisha.gandik...@intel.com>
Reviewed-by: Chad Versace <chadvers...@chromium.org>

---

 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 */

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to