aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_performance_query.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:19 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:22 +0000
commit8c8761b237d35d1a39ec9535e69d6aaa97b99c84 (patch)
treedf605a8d7dcc8e23bd6e220ee07090d5e34e6792 /src/mesa/drivers/dri/i965/brw_performance_query.h
parentb04916285e6ea27a5dbcbfc5939d3947b1b21c63 (diff)
i965: consistently use ifndef guards over pragma once
The only remaining case is the brw_oa.py generator which pipes the generated file to stdout. That will be resolved with later commits. 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]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_performance_query.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_performance_query.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.h b/src/mesa/drivers/dri/i965/brw_performance_query.h
index c9454f98eab..11938b74df3 100644
--- a/src/mesa/drivers/dri/i965/brw_performance_query.h
+++ b/src/mesa/drivers/dri/i965/brw_performance_query.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef BRW_PERFORMANCE_QUERY_H
+#define BRW_PERFORMANCE_QUERY_H
#include <stdint.h>
@@ -55,3 +56,4 @@ struct brw_perf_query_counter
};
};
+#endif /* BRW_PERFORMANCE_QUERY_H */