summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/defs.h
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-04-19 18:59:42 +0000
committerkrasimir <krasimir@chalmers.se>2017-04-19 18:59:42 +0000
commit1bfeab104c4697a83478346f0eebd1ac03429d68 (patch)
treed8af16b8720e5df83defb4662a0afff375fb2795 /src/runtime/c/gu/defs.h
parent2bdfd27173d2eedb4c39e30ae4ef0cff057604cd (diff)
more changes to make the C runtime compilable with MSVC
Diffstat (limited to 'src/runtime/c/gu/defs.h')
-rw-r--r--src/runtime/c/gu/defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/c/gu/defs.h b/src/runtime/c/gu/defs.h
index 9c19978f4..6b531979c 100644
--- a/src/runtime/c/gu/defs.h
+++ b/src/runtime/c/gu/defs.h
@@ -18,7 +18,13 @@
#define GU_API ERROR_NOT_COMPILING_LIBGU
#endif
+#define GU_INTERNAL_DECL
+#define GU_INTERNAL
+
+#define restrict __restrict
+
#else
+
#define GU_API_DECL
#define GU_API