From: Pino Toscano Date: Mon, 24 Jan 2022 10:55:59 +0000 (+0000) Subject: Fixes FTBFS on GNU/kFreeBSD by creating new Q_OS_FREEBSD_KERNEL. X-Git-Tag: archive/raspbian/4%4.8.7+dfsg-11+rpi1+deb9u3^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=471de400fda4f4b47176abad6b8c3fcfc429458e;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