Skip to content

Instantly share code, notes, and snippets.

@d235j
Created August 1, 2017 13:49
Show Gist options
  • Select an option

  • Save d235j/d47cf1d1fa226b5667348750f15fb0df to your computer and use it in GitHub Desktop.

Select an option

Save d235j/d47cf1d1fa226b5667348750f15fb0df to your computer and use it in GitHub Desktop.
--- src/gui/kernel/qt_cocoa_helpers_mac.mm.orig 2017-08-01 09:43:40.000000000 -0400
+++ src/gui/kernel/qt_cocoa_helpers_mac.mm 2017-08-01 09:47:33.000000000 -0400
@@ -73,6 +73,9 @@
**
****************************************************************************/
+// Workaround for macOS 10.13 and later
+#define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 1
+
#include <private/qcore_mac_p.h>
#include <qaction.h>
#include <qwidget.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment