summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:37 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:22 +0000
commit868324419e7e98db0af01dad52660e735de20236 (patch)
tree9e5f2d59e9a7ba36634f46c91478a11a8ba13446
parent8c8761b237d35d1a39ec9535e69d6aaa97b99c84 (diff)
intel/common: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]> Acked-by: Lionel Landwerlin <[email protected]> Acked-by: Vedran Miletić <[email protected]> Acked-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
-rw-r--r--src/intel/common/gen_debug.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/intel/common/gen_debug.h b/src/intel/common/gen_debug.h
index e745ed7be10..c0b74ea2afe 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 */