summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5PLextern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5PLextern.h b/src/H5PLextern.h
index a204cb7..8ad19e7 100644
--- a/src/H5PLextern.h
+++ b/src/H5PLextern.h
@@ -39,6 +39,8 @@ typedef enum H5PL_type_t {
#define H5PLUGIN_DLL __declspec(dllexport)
#elif (__GNUC__ >= 4) /* GCC 4.x has support for visibility options */
#define H5PLUGIN_DLL __attribute__ ((visibility("default")))
+#else
+ #define H5PLUGIN_DLL
#endif
#ifdef __cplusplus