summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/big.c2
-rw-r--r--test/dsets.c14
-rw-r--r--test/dtypes.c4
-rw-r--r--test/hyperslab.c2
4 files changed, 11 insertions, 11 deletions
diff --git a/test/big.c b/test/big.c
index b0938ff..68c8315 100644
--- a/test/big.c
+++ b/test/big.c
@@ -82,7 +82,7 @@ is_sparse(void)
if (close(fd)<0) return 0;
if (stat("x.h5", &sb)<0) return 0;
if (unlink("x.h5")<0) return 0;
-#ifdef HAVE_STAT_ST_BLOCKS
+#ifdef H5_HAVE_STAT_ST_BLOCKS
return ((unsigned long)sb.st_blocks*512 < (unsigned long)sb.st_size);
#else
return (0);
diff --git a/test/dsets.c b/test/dsets.c
index 412d209..d4b3bd1 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -378,7 +378,7 @@ test_compression(hid_t file)
/* Create the dataset */
if ((dataset = H5Dcreate(file, DSET_COMPRESS_NAME, H5T_NATIVE_INT, space,
dc))<0) goto error;
-#ifdef HAVE_COMPRESS2
+#ifdef H5_HAVE_COMPRESS2
PASSED();
#else
SKIPPED();
@@ -405,7 +405,7 @@ test_compression(hid_t file)
}
}
}
-#ifdef HAVE_COMPRESS2
+#ifdef H5_HAVE_COMPRESS2
PASSED();
#else
SKIPPED();
@@ -427,7 +427,7 @@ test_compression(hid_t file)
if (H5Dwrite(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, xfer, points)<0)
goto error;
-#ifdef HAVE_COMPRESS2
+#ifdef H5_HAVE_COMPRESS2
PASSED();
#else
SKIPPED();
@@ -456,7 +456,7 @@ test_compression(hid_t file)
}
}
}
-#ifdef HAVE_COMPRESS2
+#ifdef H5_HAVE_COMPRESS2
PASSED();
#else
SKIPPED();
@@ -496,7 +496,7 @@ test_compression(hid_t file)
}
}
}
-#ifdef HAVE_COMPRESS2
+#ifdef H5_HAVE_COMPRESS2
PASSED();
#else
SKIPPED();
@@ -528,7 +528,7 @@ test_compression(hid_t file)
}
}
}
-#ifdef HAVE_COMPRESS2
+#ifdef H5_HAVE_COMPRESS2
PASSED();
#else
SKIPPED();
@@ -574,7 +574,7 @@ test_compression(hid_t file)
}
}
}
-#ifdef HAVE_COMPRESS2
+#ifdef H5_HAVE_COMPRESS2
PASSED();
#else
SKIPPED();
diff --git a/test/dtypes.c b/test/dtypes.c
index dc91425..6f5d439 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -89,7 +89,7 @@ static int num_opaque_conversions_g = 0;
* be allowed to continue (cf. Posix signals) so in order to recover from a
* SIGFPE we run tests that might generate one in a child process.
*/
-#if defined(HAVE_FORK) && defined(HAVE_WAITPID)
+#if defined(H5_HAVE_FORK) && defined(H5_HAVE_WAITPID)
# define HANDLE_SIGFPE
#endif
@@ -198,7 +198,7 @@ some_dummy_func(float x)
static void
generates_sigfpe(void)
{
-#if defined(HAVE_FORK) && defined(HAVE_WAITPID)
+#if defined(H5_HAVE_FORK) && defined(H5_HAVE_WAITPID)
pid_t pid;
int status;
size_t i, j;
diff --git a/test/hyperslab.c b/test/hyperslab.c
index 114336a..389e803 100644
--- a/test/hyperslab.c
+++ b/test/hyperslab.c
@@ -15,7 +15,7 @@
#include <H5MMprivate.h>
#include <H5Vprivate.h>
-#ifndef HAVE_FUNCTION
+#ifndef H5_HAVE_FUNCTION
#undef __FUNCTION__
#define __FUNCTION__ ""
#endif