Mesa (master): intel/common: consistently use ifndef guards over pragma once
Emil Velikov
evelikov at kemper.freedesktop.org
Wed Mar 22 16:59:31 UTC 2017
Module: Mesa
Branch: master
Commit: 868324419e7e98db0af01dad52660e735de20236
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=868324419e7e98db0af01dad52660e735de20236
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Mon Mar 20 16:04:37 2017 +0000
intel/common: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Acked-by: Vedran Miletić <vedran at miletic.net>
Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>
---
src/intel/common/gen_debug.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/intel/common/gen_debug.h b/src/intel/common/gen_debug.h
index e745ed7be1..c0b74ea2af 100644
--- a/src/intel/common/gen_debug.h
+++ b/src/intel/common/gen_debug.h
@@ -22,7 +22,9 @@
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#pragma once
+
+#ifndef GEN_DEBUG_H
+#define GEN_DEBUG_H
#include <stdint.h>
#include "compiler/shader_enums.h"
@@ -133,3 +135,5 @@ extern void brw_process_intel_debug_variable(void);
#ifdef __cplusplus
}
#endif
+
+#endif /* GEN_DEBUG_H */
More information about the mesa-commit
mailing list