summaryrefslogtreecommitdiffstats
path: root/src/H5api_adpt.h
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-02-02 15:55:10 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-02-02 15:55:10 (GMT)
commit3234df6fb19d5481a3cde34e0d01b64aaf5931c8 (patch)
tree28886175a37ec60ffee2768c7f1594406ea207f5 /src/H5api_adpt.h
parent3d6d039b864ef9f2fcf3298bb6195541b4b226f8 (diff)
downloadhdf5-3234df6fb19d5481a3cde34e0d01b64aaf5931c8.zip
hdf5-3234df6fb19d5481a3cde34e0d01b64aaf5931c8.tar.gz
hdf5-3234df6fb19d5481a3cde34e0d01b64aaf5931c8.tar.bz2
[svn-r1052] changed the HDF5GLOBAL and HDF5DLL to __DLLVAR and __DLL__
also exported all the non static functions and globals variables to the dll
Diffstat (limited to 'src/H5api_adpt.h')
-rw-r--r--src/H5api_adpt.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/H5api_adpt.h b/src/H5api_adpt.h
index 603b9b5..5b09c76 100644
--- a/src/H5api_adpt.h
+++ b/src/H5api_adpt.h
@@ -10,16 +10,19 @@
#if defined(_HDF5DLL_)
#pragma warning(disable: 4273) /* Disable the dll linkage warnings */
-#define HDF5API __declspec(dllexport)
-#define HDF5GLOBAL __declspec(dllexport)
+#define __DLL__ __declspec(dllexport)
+#define __DLLVAR__ __declspec(dllexport)
+#elif defined(_HDF5USEDLL_)
+#define __DLL__ __declspec(dllimport)
+#define __DLLVAR__ __declspec(dllimport)
#else
-#define HDF5API
-#define HDF5GLOBAL extern
+#define __DLL__
+#define __DLLVAR__ extern
#endif /* _HDF5DLL_ */
#else /*WIN32*/
-#define HDF5API
-#define HDF5GLOBAL extern
+#define __DLL__
+#define __DLLVAR__ extern
#endif
#endif /* H5API_ADPT_H */