diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-01-20 02:51:07 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-01-20 02:51:07 (GMT) |
commit | 2f606a7c62c67d09835f004bad11fff6a76fc918 (patch) | |
tree | a35f6335576322bffb311faa758af321ce49d56e /test | |
parent | 66a94df13b3801547523f1ea90bc84fe2ee6824b (diff) | |
download | hdf5-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.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]; |