From: Pino Toscano Date: Mon, 14 Sep 2020 13:56:35 +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+deb10u1^2~31 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0d8cdf8d19344a62d71028dda3f5c6d1493faa0c;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