diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-01-20 02:51:07 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:50 (GMT) |
commit | 4405118a047f5c8772ac70105f66aa2a3de64d8d (patch) | |
tree | 7057e3e541b0a627b85ae9d795918ca588177441 | |
parent | 55b41104b920ca907053fcf39be43601f734c337 (diff) | |
download | hdf5-4405118a047f5c8772ac70105f66aa2a3de64d8d.zip hdf5-4405118a047f5c8772ac70105f66aa2a3de64d8d.tar.gz hdf5-4405118a047f5c8772ac70105f66aa2a3de64d8d.tar.bz2 |
PATH_MAX fix in efc test for Windows.
-rw-r--r-- | test/efc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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]; |