Commit 905b9298 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

GCC: Detect also 16-bit width

Change-Id: I6843f6c172954a0f89763a0993c69c9f4ea99a20
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent f240abd2
......@@ -280,6 +280,8 @@ static QList<Abi> guessGccAbi(const QString &m, const QByteArray &macros)
width = 64;
else if (macros.contains("#define __SIZEOF_SIZE_T__ 4"))
width = 32;
else if (macros.contains("#define __SIZEOF_SIZE_T__ 2"))
width = 16;
int mscVerIndex = macros.indexOf(mscVer);
if (mscVerIndex != -1) {
mscVerIndex += mscVer.length();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment