From 95ab07c586884699df0bbdf9a0bc9acd8c626c8b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:04 +0000 Subject: ac: 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 Reviewed-by: Marek Olšák Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- src/amd/common/ac_llvm_util.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/amd/common/ac_llvm_util.h') diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h index 4b0ccdd38ff..faecf1efd01 100644 --- a/src/amd/common/ac_llvm_util.h +++ b/src/amd/common/ac_llvm_util.h @@ -22,7 +22,9 @@ * of the Software. * */ -#pragma once + +#ifndef AC_LLVM_UTIL_H +#define AC_LLVM_UTIL_H #include #include @@ -65,3 +67,5 @@ void ac_dump_module(LLVMModuleRef module); #ifdef __cplusplus } #endif + +#endif /* AC_LLVM_UTIL_H */ -- cgit v1.2.3