summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/ir_to_mesa.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:39 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:22 +0000
commit43a9ca8eb42884e2386a4ff8cda5fa4b925b290e (patch)
treefdced8bac00f7510e7175722812432d2dc152cf1 /src/mesa/program/ir_to_mesa.h
parentf66fe28d9f88f4935461b6cfb5a8386ca36a08b1 (diff)
mesa/program: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]> Acked-by: Vedran Miletić <[email protected]> Acked-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/mesa/program/ir_to_mesa.h')
-rw-r--r--src/mesa/program/ir_to_mesa.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.h b/src/mesa/program/ir_to_mesa.h
index c46d090b774..09446197b24 100644
--- a/src/mesa/program/ir_to_mesa.h
+++ b/src/mesa/program/ir_to_mesa.h
@@ -21,7 +21,8 @@
* DEALINGS IN THE SOFTWARE.
*/
-#pragma once
+#ifndef IR_TO_MESA_H
+#define IR_TO_MESA_H
#include "main/glheader.h"
@@ -51,3 +52,5 @@ _mesa_associate_uniform_storage(struct gl_context *ctx,
#ifdef __cplusplus
}
#endif
+
+#endif /* IR_TO_MESA_H */