summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-20 02:51:07 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:50 (GMT)
commit4405118a047f5c8772ac70105f66aa2a3de64d8d (patch)
tree7057e3e541b0a627b85ae9d795918ca588177441 /test
parent55b41104b920ca907053fcf39be43601f734c337 (diff)
downloadhdf5-4405118a047f5c8772ac70105f66aa2a3de64d8d.zip
hdf5-4405118a047f5c8772ac70105f66aa2a3de64d8d.tar.gz
hdf5-4405118a047f5c8772ac70105f66aa2a3de64d8d.tar.bz2
PATH_MAX fix in efc test for Windows.
Diffstat (limited to 'test')
-rw-r--r--test/efc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/efc.c b/test/efc.c
index e508b47..af37bed 100644
--- a/test/efc.c
+++ b/test/efc.c
@@ -32,6 +32,11 @@ const char *FILENAME[] = {
NULL
};
+/* Windows doesn't have PATH_MAX */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif /* !PATH_MAX */
+
/* Global patched filename buffer */
#define N_FILENAMES 6
static char *filename[N_FILENAMES];