summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptstring.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-08-14 08:56:34 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-08-14 08:58:16 (GMT)
commit302706307fabd45e6238f5795550541912a26c78 (patch)
tree804f56d9a43b51cd1d8c25840b45e4e8c8cd857a /src/script/api/qscriptstring.cpp
parentfac4b448ea58d0feea8de8b44641a5b89f4f40d3 (diff)
downloadQt-302706307fabd45e6238f5795550541912a26c78.zip
Qt-302706307fabd45e6238f5795550541912a26c78.tar.gz
Qt-302706307fabd45e6238f5795550541912a26c78.tar.bz2
Fix compilation on Windows
In WebKit/JSC config.h needs to be included first in .cpp files, to among other things make sure that min/max are not defined as macros through windows.h.
Diffstat (limited to 'src/script/api/qscriptstring.cpp')
-rw-r--r--src/script/api/qscriptstring.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/qscriptstring.cpp b/src/script/api/qscriptstring.cpp
index c96e4eb..0ded562 100644
--- a/src/script/api/qscriptstring.cpp
+++ b/src/script/api/qscriptstring.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
+#include "config.h"
#include "qscriptstring.h"
#include "qscriptstring_p.h"