diff options
Diffstat (limited to 'include/CompilerKit/Utilities')
| -rw-r--r-- | include/CompilerKit/Utilities/Assembler.h | 5 | ||||
| -rw-r--r-- | include/CompilerKit/Utilities/Compiler.h | 5 | ||||
| -rw-r--r-- | include/CompilerKit/Utilities/DLL.h | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/include/CompilerKit/Utilities/Assembler.h b/include/CompilerKit/Utilities/Assembler.h index e13f1af..e43d451 100644 --- a/include/CompilerKit/Utilities/Assembler.h +++ b/include/CompilerKit/Utilities/Assembler.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef NECTAR_COMPILERKIT_UTILITIES_ASSEMBLER_H +#define NECTAR_COMPILERKIT_UTILITIES_ASSEMBLER_H #include <CompilerKit/AST.h> #include <CompilerKit/CodeGenerator.h> @@ -94,3 +95,5 @@ inline NumberCast32 GetNumber32(STLString lineBuffer, STLString numberKey) { } } } // namespace CompilerKit + +#endif // NECTAR_COMPILERKIT_UTILITIES_ASSEMBLER_H diff --git a/include/CompilerKit/Utilities/Compiler.h b/include/CompilerKit/Utilities/Compiler.h index 94060ea..8d00de0 100644 --- a/include/CompilerKit/Utilities/Compiler.h +++ b/include/CompilerKit/Utilities/Compiler.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef NECTAR_COMPILERKIT_UTILITIES_COMPILER_H +#define NECTAR_COMPILERKIT_UTILITIES_COMPILER_H #include <CompilerKit/AST.h> #include <CompilerKit/CodeGenerator.h> @@ -120,3 +121,5 @@ inline void drvi_crash_handler(std::int32_t id) { } } // namespace CompilerKit::Detail +#endif // NECTAR_COMPILERKIT_UTILITIES_COMPILER_H + diff --git a/include/CompilerKit/Utilities/DLL.h b/include/CompilerKit/Utilities/DLL.h index c6fcd49..1f84bb8 100644 --- a/include/CompilerKit/Utilities/DLL.h +++ b/include/CompilerKit/Utilities/DLL.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef NECTAR_COMPILERKIT_UTILITIES_DLL_H +#define NECTAR_COMPILERKIT_UTILITIES_DLL_H #include <CompilerKit/Detail/Config.h> #include <dlfcn.h> @@ -68,3 +69,5 @@ class DLLLoader final { }; } // namespace CompilerKit +#endif // NECTAR_COMPILERKIT_UTILITIES_DLL_H + |
