diff options
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/src/H5Eff.f90 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/fortran/src/H5Eff.f90 b/fortran/src/H5Eff.f90 index a43c119..f835901 100644 --- a/fortran/src/H5Eff.f90 +++ b/fortran/src/H5Eff.f90 @@ -48,7 +48,9 @@ INTERFACE INTEGER FUNCTION h5eclear_c() USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5ECLEAR_C'::h5eclear_c + !DEC$ ENDIF END FUNCTION h5eclear_c END INTERFACE hdferr = h5eclear_c() @@ -95,7 +97,9 @@ INTERFACE INTEGER FUNCTION h5eprint_c1(name, namelen) USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5EPRINT_C1'::h5eprint_c1 + !DEC$ ENDIF !DEC$ATTRIBUTES reference :: name INTEGER :: namelen CHARACTER(LEN=*),INTENT(IN) :: name @@ -106,12 +110,14 @@ INTERFACE INTEGER FUNCTION h5eprint_c2() USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5EPRINT_C2'::h5eprint_c2 + !DEC$ ENDIF END FUNCTION h5eprint_c2 END INTERFACE namelen = LEN(NAME) if (present(name)) then - hdferr = h5eprint_c1(name, namelen) + hdferr = h5eprint_c1(name, namelen) else hdferr = h5eprint_c2() endif @@ -160,7 +166,9 @@ INTERFACE INTEGER FUNCTION h5eget_major_c(error_no, name) USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5EGET_MAJOR_C'::h5eget_major_c + !DEC$ ENDIF !DEC$ATTRIBUTES reference :: name INTEGER :: error_no CHARACTER(LEN=*) :: name @@ -216,7 +224,9 @@ INTERFACE INTEGER FUNCTION h5eget_minor_c(error_no, name) USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5EGET_MINOR_C'::h5eget_minor_c + !DEC$ ENDIF !DEC$ATTRIBUTES reference :: name INTEGER :: error_no CHARACTER(LEN=*) :: name @@ -274,7 +284,9 @@ INTERFACE INTEGER FUNCTION h5eset_auto_c(printflag) USE H5GLOBAL + !DEC$ IF DEFINED(HDF5F90_WINDOWS) !MS$ATTRIBUTES C,reference,alias:'_H5ESET_AUTO_C'::h5eset_auto_c + !DEC$ ENDIF INTEGER :: printflag END FUNCTION h5eset_auto_c END INTERFACE |