summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/ErrorOr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/CompilerKit/ErrorOr.h')
-rw-r--r--include/CompilerKit/ErrorOr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/CompilerKit/ErrorOr.h b/include/CompilerKit/ErrorOr.h
index 8bb1b96..7891c4e 100644
--- a/include/CompilerKit/ErrorOr.h
+++ b/include/CompilerKit/ErrorOr.h
@@ -7,7 +7,8 @@
* ========================================================
*/
-#pragma once
+#ifndef NECTAR_COMPILERKIT_ERROROR_H
+#define NECTAR_COMPILERKIT_ERROROR_H
/// =========================================================== ///
/// @file ErrorOr.h
@@ -57,3 +58,5 @@ using ErrorOrAny = ErrorOr<VoidPtr>;
using ErrorOrString = ErrorOr<STLString>;
} // namespace CompilerKit
+#endif // NECTAR_COMPILERKIT_ERROROR_H
+