PATH_MAX fix in efc test for Windows.

This commit is contained in:
Dana Robinson 2020-01-19 18:51:07 -08:00
parent 66a94df13b
commit 2f606a7c62

View File

@ -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];