summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-20 02:51:07 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-20 02:51:07 (GMT)
commit2f606a7c62c67d09835f004bad11fff6a76fc918 (patch)
treea35f6335576322bffb311faa758af321ce49d56e /test
parent66a94df13b3801547523f1ea90bc84fe2ee6824b (diff)
downloadhdf5-2f606a7c62c67d09835f004bad11fff6a76fc918.zip
hdf5-2f606a7c62c67d09835f004bad11fff6a76fc918.tar.gz
hdf5-2f606a7c62c67d09835f004bad11fff6a76fc918.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];