summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-11-19 17:58:19 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-11-19 17:58:19 (GMT)
commit2f883f088135c00c8bfc24e19a89c696ee61937b (patch)
treee228cedd122c26b93066232f52696f3c3f518d8b
parent218eecfb34fd16a70df97a2413b16a1d464a8811 (diff)
downloadhdf5-2f883f088135c00c8bfc24e19a89c696ee61937b.zip
hdf5-2f883f088135c00c8bfc24e19a89c696ee61937b.tar.gz
hdf5-2f883f088135c00c8bfc24e19a89c696ee61937b.tar.bz2
[svn-r19830] Fixed the name of the windows linkage define in the header. This corrects the
inconsistent dll linkage warning when used with CMake. Changed hdf5_f90Ctest_EXPORTS to hdf5_test_f90ctub_EXPORTS. Tested: windows
-rw-r--r--src/H5api_adpt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5api_adpt.h b/src/H5api_adpt.h
index 1bfb3bd..c324f08 100644
--- a/src/H5api_adpt.h
+++ b/src/H5api_adpt.h
@@ -235,7 +235,7 @@
#define H5_FCDLLVAR extern
#endif /* H5_FCDLL */
-#if defined(hdf5_f90Ctest_EXPORTS)
+#if defined(hdf5_test_f90cstub_EXPORTS)
#if defined (_MSC_VER) /* MSVC Compiler Case */
#define H5_FCTESTDLL __declspec(dllexport)
#define H5_FCTESTDLLVAR extern __declspec(dllexport)