summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-11-24 10:14:23 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-11-24 10:14:23 (GMT)
commit5ea5d929144ddf334bf8f47cccec35ee7dcbb10c (patch)
tree5dc546154d602c9d378064161eeefdd7a1bc8153 /src/corelib
parentc8aa3d037ead9a7d1d62dc9ba454de8ff7eae9c4 (diff)
downloadQt-5ea5d929144ddf334bf8f47cccec35ee7dcbb10c.zip
Qt-5ea5d929144ddf334bf8f47cccec35ee7dcbb10c.tar.gz
Qt-5ea5d929144ddf334bf8f47cccec35ee7dcbb10c.tar.bz2
Fix compile error on Windows
Reviewed-by: Joao
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