summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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];