summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2009-12-10 16:20:34 +0100
committerDaniel Molkentin <daniel.molkentin@nokia.com>2009-12-10 16:38:19 +0100
commit5832c6b584cc477db12f8ac843c15ce12cea1cb1 (patch)
tree7ef3bb0dd8e25a2cd7c6694e4d4c6a5a32d1f914 /src/plugins/projectexplorer
parent116acbbae0cacaf256f62896dcaff343e49c5f00 (diff)
downloadqt-creator-5832c6b584cc477db12f8ac843c15ce12cea1cb1.tar.gz
Add windows definitions to make the code model happy.
__stdcall for all compilers (MSVC and MinGW, possibly others may use it) __w64 is MSVC only, deprecated there, but still used in some places Reviewed-By: Roberto Raggi
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r--src/plugins/projectexplorer/toolchain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/toolchain.cpp b/src/plugins/projectexplorer/toolchain.cpp
index c085f93aed..e8cacf0122 100644
--- a/src/plugins/projectexplorer/toolchain.cpp
+++ b/src/plugins/projectexplorer/toolchain.cpp
@@ -346,6 +346,7 @@ QByteArray MSVCToolChain::predefinedMacros()
{
if (m_predefinedMacros.isEmpty()) {
m_predefinedMacros += "#define __MSVCRT__\n"
+ "#define __w64\n"
"#define __int64 long long\n"
"#define __int32 long\n"
"#define __int16 short\n"