From 471de400fda4f4b47176abad6b8c3fcfc429458e Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 24 Jan 2022 10:55:59 +0000 Subject: [PATCH] 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 --- src/corelib/global/qglobal.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2