summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program_parser.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/program_parser.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/program_parser.h')
-rw-r--r--src/mesa/program/program_parser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/program/program_parser.h b/src/mesa/program/program_parser.h
index 412aca1e53d..dadce126247 100644
--- a/src/mesa/program/program_parser.h
+++ b/src/mesa/program/program_parser.h
@@ -20,7 +20,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#pragma once
+
+#ifndef PROGRAM_PARSER_H
+#define PROGRAM_PARSER_H
#include "main/config.h"
#include "program/prog_parameter.h"
@@ -288,3 +290,5 @@ extern int _mesa_parse_instruction_suffix(const struct asm_parser_state *state,
const char *suffix, struct prog_instruction *inst);
/*@}*/
+
+#endif /* PROGRAM_PARSER_H */