aboutsummaryrefslogtreecommitdiff
path: root/src/ioHDF5UtilGH.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ioHDF5UtilGH.h')
-rw-r--r--src/ioHDF5UtilGH.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ioHDF5UtilGH.h b/src/ioHDF5UtilGH.h
index b1f11d4..7acfa78 100644
--- a/src/ioHDF5UtilGH.h
+++ b/src/ioHDF5UtilGH.h
@@ -123,13 +123,13 @@
ie. a float has always 4 bytes, and a double has 8 bytes
HDF5_REAL is used for storing reals of the generic CCTK_REAL type
HDF5_REALn is used to explicitely store n-byte reals */
-#ifdef CCTK_REAL4
+#ifdef HAVE_CCTK_REAL4
#define HDF5_REAL4 H5T_NATIVE_FLOAT
#endif
-#ifdef CCTK_REAL8
+#ifdef HAVE_CCTK_REAL8
#define HDF5_REAL8 H5T_NATIVE_DOUBLE
#endif
-#ifdef CCTK_REAL16
+#ifdef HAVE_CCTK_REAL16
#define HDF5_REAL16 (sizeof (CCTK_REAL16) == sizeof (long double) ? \
H5T_NATIVE_LDOUBLE : -1)
#endif
@@ -147,25 +147,25 @@
/* integer types are architecture-dependent:
HDF5_INT is used for communicating integers of the generic CCTK_INT type
HDF5_INTn is used to explicitely communicate n-byte integers */
-#ifdef CCTK_INT8
+#ifdef HAVE_CCTK_INT8
#define HDF5_INT8 (sizeof (CCTK_INT8) == sizeof (int) ? H5T_NATIVE_INT : \
sizeof (CCTK_INT8) == sizeof (long) ? H5T_NATIVE_LONG : \
sizeof (CCTK_INT8) == sizeof (long long) ? \
H5T_NATIVE_LLONG : -1)
#endif
-#ifdef CCTK_INT4
+#ifdef HAVE_CCTK_INT4
#define HDF5_INT4 (sizeof (CCTK_INT4) == sizeof (int) ? H5T_NATIVE_INT : \
sizeof (CCTK_INT4) == sizeof (short) ? \
H5T_NATIVE_SHORT : -1)
#endif
-#ifdef CCTK_INT2
+#ifdef HAVE_CCTK_INT2
#define HDF5_INT2 (sizeof (CCTK_INT2) == sizeof (short) ? \
H5T_NATIVE_SHORT : -1)
#endif
-#ifdef CCTK_INT1
+#ifdef HAVE_CCTK_INT1
#define HDF5_INT1 H5T_NATIVE_SCHAR
#endif