summaryrefslogtreecommitdiffstats
path: root/base/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/port.h')
-rw-r--r--base/port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/port.h b/base/port.h
index 102651f..9207192 100644
--- a/base/port.h
+++ b/base/port.h
@@ -53,8 +53,10 @@ inline void va_copy(va_list& a, va_list& b) {
// Define an OS-neutral wrapper for shared library entry points
#if defined(OS_WIN)
#define API_CALL __stdcall
+#define DYNAMIC_EXPORT __declspec(dllexport)
#elif defined(OS_POSIX)
#define API_CALL
+#define DYNAMIC_EXPORT
#endif
#endif // BASE_PORT_H_