Commit 6ff6edf8 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Tobias Hunger

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: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 3b86184d
......@@ -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);
......
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