diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-05-17 10:23:55 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-05-18 09:14:18 -0700 |
commit | 56dcb3b49643216e25863af5d18883396654f840 (patch) | |
tree | 31c5044562f6d684df654789248cd241f7d75a85 /tests/auto/corelib/global/qglobal | |
parent | 042bab072a65f2f3054531ec4f7eb28afbe38e78 (diff) |
qglobal.h: #include <stdbool.h> in C mode
It's C99 and we require C11.
Change-Id: Ieb9a2aa1ea914b1b956bfffd16eff4556b99f976
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto/corelib/global/qglobal')
-rw-r--r-- | tests/auto/corelib/global/qglobal/qglobal.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/auto/corelib/global/qglobal/qglobal.c b/tests/auto/corelib/global/qglobal/qglobal.c index f6febd3c8d..4d4f4475ea 100644 --- a/tests/auto/corelib/global/qglobal/qglobal.c +++ b/tests/auto/corelib/global/qglobal/qglobal.c @@ -3,15 +3,6 @@ #include <QtCore/qglobal.h> -#if __has_include(<stdbool.h>) || __STDC_VERSION__ >= 199901L -# include <stdbool.h> -#else -# undef true -# define true 1 -# undef false -# define false 0 -#endif - #ifdef Q_COMPILER_THREAD_LOCAL # include <threads.h> #endif |