diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-01-21 16:11:12 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-01-21 16:11:12 (GMT) |
commit | 6778cd8ce550b1c366afaed2e7351367e1617d3e (patch) | |
tree | 0f2d77573660c24e189c80333010dec08365e216 /src/H5api_adpt.h | |
parent | ba57f7a4609e69ceba3362354fa8f7f4728db56f (diff) | |
download | hdf5-6778cd8ce550b1c366afaed2e7351367e1617d3e.zip hdf5-6778cd8ce550b1c366afaed2e7351367e1617d3e.tar.gz hdf5-6778cd8ce550b1c366afaed2e7351367e1617d3e.tar.bz2 |
[svn-r1028] new include file that is needed on NT to export functions and gloabls in a dll
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 |