diff options
author | Emil Velikov <[email protected]> | 2017-03-20 16:04:04 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-22 16:55:21 +0000 |
commit | 95ab07c586884699df0bbdf9a0bc9acd8c626c8b (patch) | |
tree | d2e5d954b7acec243f642b1b5edaeef9aa9c72d0 /src/amd/common/ac_llvm_util.h | |
parent | 3b277bae66f23997860637f9f80c41a3f247dc5b (diff) |
ac: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[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/amd/common/ac_llvm_util.h')
-rw-r--r-- | src/amd/common/ac_llvm_util.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <stdbool.h> #include <llvm-c/TargetMachine.h> @@ -65,3 +67,5 @@ void ac_dump_module(LLVMModuleRef module); #ifdef __cplusplus } #endif + +#endif /* AC_LLVM_UTIL_H */ |