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
7e144536
Commit
7e144536
authored
May 22, 2009
by
Friedemann Kleint
Browse files
Fixed MinGW compilation.
parent
3ba72d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qtversionmanager.cpp
View file @
7e144536
...
...
@@ -923,8 +923,11 @@ bool QtVersion::isMSVC64Bit() const
qDebug
()
<<
make
;
bool
isAmd64
=
false
;
#ifdef Q_OS_WIN32
# ifdef __GNUC__ // MinGW lacking some definitions/winbase.h
# define SCS_64BIT_BINARY 6
# endif
DWORD
binaryType
=
0
;
bool
success
=
GetBinaryTypeW
(
make
.
utf16
(),
&
binaryType
)
!=
0
;
bool
success
=
GetBinaryTypeW
(
reinterpret_cast
<
const
TCHAR
*>
(
make
.
utf16
()
)
,
&
binaryType
)
!=
0
;
if
(
success
&&
binaryType
==
SCS_64BIT_BINARY
)
isAmd64
=
true
;
// qDebug() << "isAmd64:" << isAmd64 << binaryType;
...
...
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