Skip to content

Commit

Permalink
Drop OS X specific '64-bit' check.
Browse files Browse the repository at this point in the history
QSysInfo::WordSize == 64 seems good enough for us.
  • Loading branch information
mkrautz committed Apr 17, 2016
1 parent 72ef902 commit 0502fa6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/OSInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,6 @@ void OSInfo::fillXml(QDomDocument &doc, QDomElement &root, const QString &os, co
BOOL bIsWow64 = FALSE;
IsWow64Process(GetCurrentProcess(), &bIsWow64);
bIs64 = bIsWow64;
#elif defined(Q_OS_MAC)
size_t len = sizeof(bool);
sysctlbyname("hw.cpu64bit_capable", &bIs64, &len, NULL, 0);
#else
bIs64 = (QSysInfo::WordSize == 64);
#endif
Expand Down

0 comments on commit 0502fa6

Please sign in to comment.