diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-03-18 10:25:05 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-03-18 13:30:35 (GMT) |
commit | 109efebab1420270d824fd419bf0b2f2cb9d01b9 (patch) | |
tree | 19610d274d1da59e5f436eaa90f32d48a3a57161 /src/script/script.pro | |
parent | a6b28b13331117c6beec96ddcdcd727550d77343 (diff) | |
download | Qt-109efebab1420270d824fd419bf0b2f2cb9d01b9.zip Qt-109efebab1420270d824fd419bf0b2f2cb9d01b9.tar.gz Qt-109efebab1420270d824fd419bf0b2f2cb9d01b9.tar.bz2 |
Fix JSC export macros
If we're building QtScript, we want the JS_EXPORTDATA and
JS_EXPORTCLASS to expand to nothing.
This avoids the macros being redefined (incorrectly) on MSVC.
Diffstat (limited to 'src/script/script.pro')
-rw-r--r-- | src/script/script.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script.pro b/src/script/script.pro index df5dbf3..2a74a66 100644 --- a/src/script/script.pro +++ b/src/script/script.pro @@ -73,7 +73,7 @@ solaris-g++:isEqual(QT_ARCH,sparc) { } # Avoid JSC C API functions being exported. -DEFINES += JS_NO_EXPORT JS_EXPORTDATA="" +DEFINES += JS_NO_EXPORT INCLUDEPATH += $$PWD |