summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--windows/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h
index 760596b0ea..0ac715f405 100644
--- a/windows/mpconfigport.h
+++ b/windows/mpconfigport.h
@@ -105,7 +105,7 @@ void msec_sleep(double msec);
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
-#define PATH_MAX MICROPY_PATH_MAX
+#define PATH_MAX MICROPY_ALLOC_PATH_MAX
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)