Work around Apple defining "check"

The header says they'll stop doing that in the next release. It's been
like that since at least the OS X 10.8 SDK...

Change-Id: Ib57b52598e2f452985e9fffd14585d4838dc8b09
Reviewed-by: Richard J. Moore <rich@kde.org>
This commit is contained in:
Thiago Macieira 2016-06-15 13:57:23 -07:00
parent dabaaf96b7
commit ea582cdcbf

View File

@ -84,6 +84,11 @@ public:
};
#ifdef check
// defined in Apple's /usr/include/AssertMacros.h header
# undef check
#endif
class QEventDispatcherUNIXPrivate;
#ifdef Q_OS_QNX