diff options
Diffstat (limited to 'src/H5PLextern.h')
-rw-r--r-- | src/H5PLextern.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/H5PLextern.h b/src/H5PLextern.h index 7547ad7..e00721f 100644 --- a/src/H5PLextern.h +++ b/src/H5PLextern.h @@ -21,12 +21,12 @@ #include "hdf5.h" /* plugins always export */ -#if defined (_MSC_VER) /* MSVC Compiler Case */ - #define H5PLUGIN_DLL __declspec(dllexport) -#elif (__GNUC__ >= 4) /* GCC 4.x has support for visibility options */ - #define H5PLUGIN_DLL __attribute__ ((visibility("default"))) +#if defined(_MSC_VER) /* MSVC Compiler Case */ +#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 +#define H5PLUGIN_DLL #endif #ifdef __cplusplus @@ -41,4 +41,3 @@ H5PLUGIN_DLL const void *H5PLget_plugin_info(void); #endif #endif /* _H5PLextern_H */ - |