summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5f90global.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2003-05-01 20:23:42 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2003-05-01 20:23:42 (GMT)
commit5b13e08ba686de2c4a97d92d4748bdd76c51e91f (patch)
tree51601f3d7e2fd58e7f009f76cd5088424c0380ef /fortran/src/H5f90global.f90
parentb0880f9331e973bd6cb043e5f6edf777bfba949f (diff)
downloadhdf5-5b13e08ba686de2c4a97d92d4748bdd76c51e91f.zip
hdf5-5b13e08ba686de2c4a97d92d4748bdd76c51e91f.tar.gz
hdf5-5b13e08ba686de2c4a97d92d4748bdd76c51e91f.tar.bz2
[svn-r6790]
Purpose: Maintenance/code cleanup/fight with Windows Fortran DLLs Description: While strugling with Fortran DLLs on Windows I noticed some missing export definitions that are necessary for exporting correctly data and functions. Solution: Added missing definitions Platforms tested: h5committested; Windows with MSVC++ and Visual Fortran on Windows. Fortran DLLs partially work, only 2 tests fail, but failure doesn't make any sense. To make things worse, most of the C DLL tests start to fail when Fortran is built. I am still investigating... Misc. update:
Diffstat (limited to 'fortran/src/H5f90global.f90')
-rw-r--r--fortran/src/H5f90global.f903
1 files changed, 3 insertions, 0 deletions
diff --git a/fortran/src/H5f90global.f90 b/fortran/src/H5f90global.f90
index 2630cca..7aada3e 100644
--- a/fortran/src/H5f90global.f90
+++ b/fortran/src/H5f90global.f90
@@ -283,6 +283,9 @@
!
INTEGER, PARAMETER :: H5FD_FLAGS_LEN = 11
INTEGER H5FD_flags(H5FD_FLAGS_LEN)
+!DEC$if defined(BUILD_HDF5_DLL)
+!DEC$ ATTRIBUTES DLLEXPORT :: /H5FD_FLAGS/
+!DEC$endif
COMMON /H5FD_FLAGS/ H5FD_flags
INTEGER :: H5FD_MPIO_INDEPENDENT_F