summaryrefslogtreecommitdiffstats
path: root/test/big.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/big.c')
-rw-r--r--test/big.c2
1 files changed, 1 insertions, 1 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);