diff options
Diffstat (limited to 'src/H5api_adpt.h')
-rw-r--r-- | src/H5api_adpt.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/H5api_adpt.h b/src/H5api_adpt.h new file mode 100644 index 0000000..0dc077a --- /dev/null +++ b/src/H5api_adpt.h @@ -0,0 +1,25 @@ +/* + H5api_adpt.h + Used for the HDF5 dll project + Created by Patrick Lu on 1/12/99 +*/ +#ifndef H5API_ADPT_H +#define H5API_ADPT_H + +#if defined(WIN32) + +#if defined(_HDF5DLL_) +#pragma warning(disable: 4273) /* Disable the dll linkage warnings */ +#define HDF5API __declspec(dllexport) +#define HDF5GLOBAL __declspec(dllexport) +#else +#define HDF5API +#define HDF5GLOBAL extern +#endif /* _HDF5DLL_ */ + +#else /*WIN32*/ +#define HDF5API +#define HDF5GLOBAL extern +#endif + +#endif /* H5API_ADPT_H */
\ No newline at end of file |