From 868324419e7e98db0af01dad52660e735de20236 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:37 +0000 Subject: intel/common: consistently use ifndef guards over pragma once MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emil Velikov Acked-by: Lionel Landwerlin Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- src/intel/common/gen_debug.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/intel') 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 #include "compiler/shader_enums.h" @@ -133,3 +135,5 @@ extern void brw_process_intel_debug_variable(void); #ifdef __cplusplus } #endif + +#endif /* GEN_DEBUG_H */ -- cgit v1.2.3