build: Drop unneeded ApplicationServices framework dependency

This commit is contained in:
Hennadii Stepanov
2020-11-25 18:18:36 +02:00
parent 5c0aebfcd4
commit 65afe4cb69
2 changed files with 1 additions and 6 deletions

View File

@@ -17,12 +17,7 @@
#include <stdint.h>
#include <QtDBus>
#endif
// Include ApplicationServices.h after QtDbus to avoid redefinition of check().
// This affects at least OSX 10.6. See /usr/include/AssertMacros.h for details.
// Note: This could also be worked around using:
// #define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#ifdef Q_OS_MAC
#include <ApplicationServices/ApplicationServices.h>
#include <qt/macnotificationhandler.h>
#endif