summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfsfileengine_win.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp
index f3e2c4c..715fe39 100644
--- a/src/corelib/io/qfsfileengine_win.cpp
+++ b/src/corelib/io/qfsfileengine_win.cpp
@@ -69,6 +69,10 @@
#define SECURITY_WIN32
#include <security.h>
+#ifndef PATH_MAX
+#define PATH_MAX FILENAME_MAX
+#endif
+
QT_BEGIN_NAMESPACE