summaryrefslogtreecommitdiffstats
path: root/fortran/test/t.h
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/test/t.h')
-rw-r--r--fortran/test/t.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/fortran/test/t.h b/fortran/test/t.h
index 0286028..3e4fd4d 100644
--- a/fortran/test/t.h
+++ b/fortran/test/t.h
@@ -21,15 +21,9 @@ char *h5_fixname(const char *base_name, hid_t fapl, char *fullname, size_t size)
/*
* Functions from t.c
*/
-#ifdef DF_CAPFNAMES
-# define nh5_fixname_c FNAME(H5_FIXNAME_C)
-# define nh5_cleanup_c FNAME(H5_CLEANUP_C)
-# define nh5_exit_c FNAME(H5_EXIT_C)
-#else /* !DF_CAPFNAMES */
-# define nh5_fixname_c FNAME(h5_fixname_c)
-# define nh5_cleanup_c FNAME(h5_cleanup_c)
-# define nh5_exit_c FNAME(h5_exit_c)
-#endif /* DF_CAPFNAMES */
+# define nh5_fixname_c FC_FUNC_(h5_fixname_c, H5_FIXNAME_C)
+# define nh5_cleanup_c FC_FUNC_(h5_cleanup_c, H5_CLEANUP_C)
+# define nh5_exit_c FC_FUNC_(h5_exit_c, H5_EXIT_C)
H5_FCTESTDLL int_f nh5_fixname_c
(_fcd base_name, size_t_f *base_namelen, hid_t_f *fapl, _fcd full_name, size_t_f *full_namelen);