Abi: Correctly set ABI information for the BSDs in hostAbi().

Add another #ifdef block for BSD operating systems so that qtcreator
stops complaining that it does not have enough information about the
host's ABI.

Change-Id: I5841e162eda7f34fa4a962ab1c035d1727613f6f
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Raphael Kubo da Costa
2014-12-30 14:23:49 +02:00
committed by Tobias Hunger
parent 3b86184d12
commit 6ff6edf8d7

View File

@@ -744,6 +744,16 @@ Abi Abi::hostAbi()
os = MacOS;
subos = GenericMacFlavor;
format = MachOFormat;
#elif defined (Q_OS_BSD4)
os = BsdOS;
# if defined (Q_OS_FREEBSD)
subos = FreeBsdFlavor;
# elif defined (Q_OS_NETBSD)
subos = NetBsdFlavor;
# elif defined (Q_OS_OPENBSD)
subos = OpenBsdFlavor;
# endif
format = ElfFormat;
#endif
const Abi result(arch, os, subos, format, QSysInfo::WordSize);