From: Pino Toscano Date: Tue, 22 Aug 2023 13:42:24 +0000 (+0100) Subject: Fixes FTBFS on GNU/kFreeBSD by creating new Q_OS_FREEBSD_KERNEL. X-Git-Tag: archive/raspbian/4%4.8.7+dfsg-18+rpi1+deb10u2^2~31 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4546d5891640452e2682be3a824dde4241d606a5;p=qt4-x11.git Fixes FTBFS on GNU/kFreeBSD by creating new Q_OS_FREEBSD_KERNEL. Last-Update: 2010-10-06 Gbp-Pq: Name 50_kfreebsd_Q_OS.diff --- diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 20d88328c..670ec38b6 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -226,6 +226,8 @@ namespace QT_NAMESPACE {} #elif defined(__FreeBSD__) || defined(__DragonFly__) # define Q_OS_FREEBSD # define Q_OS_BSD4 +#elif defined(__FreeBSD_kernel__) +# define Q_OS_FREEBSD_KERNEL #elif defined(__NetBSD__) # define Q_OS_NETBSD # define Q_OS_BSD4