summaryrefslogtreecommitdiffstats
path: root/src/H5api_adpt.h
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2005-07-22 21:25:19 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2005-07-22 21:25:19 (GMT)
commit82293a2badab70276a157774c233c1f16e5cabe8 (patch)
tree5a057dcbba5a66df6a1f95cf8ffd787907a28f53 /src/H5api_adpt.h
parent6c6e31039194de99a866b0477879065673860347 (diff)
downloadhdf5-82293a2badab70276a157774c233c1f16e5cabe8.zip
hdf5-82293a2badab70276a157774c233c1f16e5cabe8.tar.gz
hdf5-82293a2badab70276a157774c233c1f16e5cabe8.tar.bz2
[svn-r11108] Purpose:
Improvement Description: Add high level c c++ and fortran dll and tests on windows Solution: Platforms tested: MSVS 6.0 on Winodows XP, cygwin,heping and copper Misc. update:
Diffstat (limited to 'src/H5api_adpt.h')
-rw-r--r--src/H5api_adpt.h33
1 files changed, 31 insertions, 2 deletions
diff --git a/src/H5api_adpt.h b/src/H5api_adpt.h
index b02dd45..7312c4f 100644
--- a/src/H5api_adpt.h
+++ b/src/H5api_adpt.h
@@ -46,6 +46,34 @@
#define H5TEST_DLLVAR extern
#endif /* _HDF5TESTDLL_ */
+#if defined(_HDF5_HLDLL_EXPORTS_)
+#pragma warning(disable: 4273) /* Disable the dll linkage warnings */
+#define H5_HLDLL __declspec(dllexport)
+#elif defined(_HDF5USEHLDLL_)
+#define H5_HLDLL __declspec(dllimport)
+#else
+#define H5_HLDLL
+#endif /* _HDF5_HLDLL_EXPORTS */
+
+#if defined(HDF5_HL_CPPDLL_EXPORTS)
+#pragma warning(disable: 4273) /* Disable the dll linkage warnings */
+#define H5_HLCPPDLL __declspec(dllexport)
+#elif defined(HDF5USE_HLCPPDLL)
+#define H5_HLCPPDLL __declspec(dllimport)
+#else
+#define H5_HLCPPDLL
+#endif /*HDF5_HL_CPPDLL_EXPORTS*/
+
+#if defined(HDF5_HL_F90CSTUBDLL_EXPORTS)
+#pragma warning(disable: 4273) /* Disable the dll linkage warnings */
+#define HDF5_HL_F90CSTUBDLL __declspec(dllexport)
+#elif defined(HDF5USE_HLF90CSTUBDLL)
+#define HDF5_HL_F90CSTUBDLL __declspec(dllimport)
+#else
+#define HDF5_HL_F90CSTUBDLL
+#endif /*HDF5_HL_F90CSTUBDLL_EXPORTS*/
+
+
#if defined(HDF5FORT_CSTUB_DLL_EXPORTS)
#pragma warning(disable: 4273) /* Disable the dll linkage warnings */
#define H5_FCDLL __declspec(dllexport)
@@ -70,8 +98,6 @@
#define H5_FCTESTDLLVAR extern
#endif /* _HDF5_FORTRANDLL_EXPORTS_ */
-
-
/* Added to export or to import C++ APIs - BMR (02-15-2002) */
#if defined(HDF5_CPPDLL_EXPORTS) /* this name is generated at creation */
#define H5_DLLCPP __declspec(dllexport)
@@ -83,6 +109,9 @@
#else /*WIN32*/
#define H5_DLL
+#define H5_HLDLL
+#define H5_HLCPPDLL
+#define HDF5_HL_F90CSTUBDLL
#define H5_DLLVAR extern
#define H5_DLLCPP
#define H5TEST_DLL