diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-08-14 08:56:34 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-08-14 08:58:16 (GMT) |
commit | 302706307fabd45e6238f5795550541912a26c78 (patch) | |
tree | 804f56d9a43b51cd1d8c25840b45e4e8c8cd857a /src/script/api/qscriptstring.cpp | |
parent | fac4b448ea58d0feea8de8b44641a5b89f4f40d3 (diff) | |
download | Qt-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.cpp | 1 |
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" |