From 095ef2947d858df7ccc9baa4806fe7366fca26bc Mon Sep 17 00:00:00 2001 From: cflip Date: Sun, 8 Jan 2023 14:57:40 -0700 Subject: Use C-style include guards instead of #pragma once --- syntax.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'syntax.h') diff --git a/syntax.h b/syntax.h index 0cb673e..9bf85a4 100644 --- a/syntax.h +++ b/syntax.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef _SYNTAX_H +#define _SYNTAX_H #include @@ -34,3 +35,5 @@ enum editor_highlight { void editor_update_syntax(struct editor_state* editor, struct editor_row* row); int editor_syntax_to_colour(int highlight); void editor_select_syntax_highlight(struct editor_state* editor); + +#endif -- cgit v1.2.3