aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flstdc.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flstdc.h')
-rw-r--r--externals/grill/flext/source/flstdc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flstdc.h b/externals/grill/flext/source/flstdc.h
index adf28b0d..44252c3f 100644
--- a/externals/grill/flext/source/flstdc.h
+++ b/externals/grill/flext/source/flstdc.h
@@ -162,8 +162,14 @@ typedef void t_binbuf;
/* Set the right calling convention (and exporting) for the OS */
#ifdef _MSC_VER
+ #ifdef FLEXT_SHARED
+ #define FLEXT_SHARE __declspec(dllexport)
+ #else
+ #define FLEXT_SHARE
+ #endif
#define FLEXT_EXT __declspec(dllexport)
#else // other OS's
+ #define FLEXT_SHARE
#define FLEXT_EXT
#endif