aboutsummaryrefslogtreecommitdiff
path: root/include/cru/toml/Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/toml/Base.h')
-rw-r--r--include/cru/toml/Base.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/cru/toml/Base.h b/include/cru/toml/Base.h
new file mode 100644
index 00000000..de1d558c
--- /dev/null
+++ b/include/cru/toml/Base.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#ifdef CRU_PLATFORM_WINDOWS
+#ifdef CRU_TOML_EXPORT_API
+#define CRU_TOML_API __declspec(dllexport)
+#else
+#define CRU_TOML_API __declspec(dllimport)
+#endif
+#else
+#define CRU_TOML_API
+#endif