diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-03-20 18:21:28 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-03-20 18:21:28 (GMT) |
commit | 59a9d9a0c67ea2a848a6aaad544db651a9fa4192 (patch) | |
tree | 7932a45a650c459c98013f0b61cfc3c72362a6b0 /src/H5PLpublic.h | |
parent | 6563fc39b17543f01fd8e888774c43a75628737f (diff) | |
download | hdf5-59a9d9a0c67ea2a848a6aaad544db651a9fa4192.zip hdf5-59a9d9a0c67ea2a848a6aaad544db651a9fa4192.tar.gz hdf5-59a9d9a0c67ea2a848a6aaad544db651a9fa4192.tar.bz2 |
[svn-r23403] Refactor windows code:
windows uses ';' as path separator
windows default path is different
windows find files needs '*.*'
Diffstat (limited to 'src/H5PLpublic.h')
-rw-r--r-- | src/H5PLpublic.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/H5PLpublic.h b/src/H5PLpublic.h index 65a94cc..6b17197 100644 --- a/src/H5PLpublic.h +++ b/src/H5PLpublic.h @@ -21,7 +21,7 @@ #define _H5PLpublic_H /* Public headers needed by this file */ -#include "H5public.h" +#include "H5Zpublic.h" /****************************/ /* Library Public Typedefs */ @@ -36,12 +36,23 @@ typedef enum H5PL_type_t { } H5PL_type_t; +/* 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"))) +#endif + #ifdef __cplusplus extern "C" { #endif + H5PLUGIN_DLL const H5PL_type_t H5PL_get_plugin_type(void); + H5PLUGIN_DLL const H5Z_class2_t* H5PL_get_plugin_info(void); + #ifdef __cplusplus } #endif + #endif /* _H5PLpublic_H */ |