diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2003-05-01 20:23:42 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2003-05-01 20:23:42 (GMT) |
commit | 5b13e08ba686de2c4a97d92d4748bdd76c51e91f (patch) | |
tree | 51601f3d7e2fd58e7f009f76cd5088424c0380ef /fortran/src/H5f90i.h | |
parent | b0880f9331e973bd6cb043e5f6edf777bfba949f (diff) | |
download | hdf5-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/H5f90i.h')
-rw-r--r-- | fortran/src/H5f90i.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fortran/src/H5f90i.h b/fortran/src/H5f90i.h index e26c855..1c04008 100644 --- a/fortran/src/H5f90i.h +++ b/fortran/src/H5f90i.h @@ -30,6 +30,7 @@ #include <stdlib.h> #include <limits.h> #include <string.h> +#include "H5private.h" #if (defined (UNICOS) || (defined (_UNICOS))) @@ -341,11 +342,11 @@ typedef float real_f; #if !defined(FNAME_PRE_UNDERSCORE) && defined(FNAME_POST2_UNDERSCORE) # define FNAME(x) x##__ #endif - +/* # define HDfree(p) (free((void*)p)) # define HDmalloc(s) (malloc((size_t)s)) # define HDstrlen(s) (strlen((const char *)(s))) # define HDmemcpy(dst,src,n) (memcpy((void *)(dst),(const void *)(src),(size_t)(n))) - +*/ #endif /* _H5f90i_H */ |