summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/Detail/PreConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/CompilerKit/Detail/PreConfig.h')
-rw-r--r--include/CompilerKit/Detail/PreConfig.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/CompilerKit/Detail/PreConfig.h b/include/CompilerKit/Detail/PreConfig.h
index 6742c53..0279072 100644
--- a/include/CompilerKit/Detail/PreConfig.h
+++ b/include/CompilerKit/Detail/PreConfig.h
@@ -4,7 +4,8 @@
======================================== */
-#pragma once
+#ifndef __COMPILERKIT_PRECONFIG_H__
+#define __COMPILERKIT_PRECONFIG_H__
#ifndef Yes
#define Yes true
@@ -116,5 +117,8 @@
KLASS& operator=(KLASS&&) = default; \
KLASS(KLASS&&) = default;
+#define CK_IMPORT_CXX extern "C++"
#define CK_IMPORT_C extern "C"
#define CK_IMPORT extern
+
+#endif // __COMPILERKIT_PRECONFIG_H__ \ No newline at end of file