Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1da8ccae
Commit
1da8ccae
authored
Oct 15, 2009
by
Daniel Molkentin
Browse files
Define _WIN32_WCE if using the MSVC for Windows CE compiler.
Also, remove bogus default defines. Reviewed-By: joerg
parent
594da3a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/toolchain.cpp
View file @
1da8ccae
...
...
@@ -314,8 +314,8 @@ QByteArray msvcCompilationFile() {
"_MSC_FULL_VER"
,
"_MSC_VER"
,
"__MSVC_RUNTIME_CHECKS"
,
"_MT"
,
"_NATIVE_WCHAR_T_DEFINED"
,
"_OPENMP"
,
"_VC_NODEFAULTLIB"
,
"_WCHAR_T_DEFINED"
,
"_WIN32"
,
"_WIN
64
"
,
"_W
p
64"
,
"_
_DATE__
"
,
"__DATE__"
,
"__TIME__"
,
"__TIMESTAMP__"
,
"_WIN
32_WCE
"
,
"_W
IN
64"
,
"_
Wp64
"
,
"__DATE__"
,
"__DATE__"
,
"__TIME__"
,
"__TIMESTAMP__"
,
0
};
QByteArray
file
=
"#define __PPOUT__(x) V##x=x
\n\n
"
;
int
i
=
0
;
...
...
@@ -333,9 +333,6 @@ QByteArray MSVCToolChain::predefinedMacros()
{
if
(
m_predefinedMacros
.
isEmpty
())
{
m_predefinedMacros
+=
"#define __MSVCRT__
\n
"
"#define __WINNT__
\n
"
"#define __WINNT
\n
"
"#define WINNT
\n
"
"#define __int64 long long
\n
"
"#define __int32 long
\n
"
"#define __int16 short
\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment