Skip to content

Instantly share code, notes, and snippets.

@metacollin
Last active September 16, 2016 01:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metacollin/232d39cdc5cfd3664a23b18efd50ec4f to your computer and use it in GitHub Desktop.
Save metacollin/232d39cdc5cfd3664a23b18efd50ec4f to your computer and use it in GitHub Desktop.
diff --git src/osx/carbon/dataobj.cpp src/osx/carbon/dataobj.cpp
index c03c6a1..c40c1ce 100644
--- src/osx/carbon/dataobj.cpp
+++ src/osx/carbon/dataobj.cpp
@@ -30,8 +30,10 @@
#include "wx/osx/private.h"
#if wxOSX_USE_COCOA_OR_CARBON
+#ifndef __MAC_10_12
#include <QuickTime/QuickTime.h>
#endif
+#endif
// ----------------------------------------------------------------------------
// wxDataFormat
diff --git src/osx/core/bitmap.cpp src/osx/core/bitmap.cpp
index 3c61c17..32cbdb7 100644
--- src/osx/core/bitmap.cpp
+++ src/osx/core/bitmap.cpp
@@ -36,8 +36,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxMask, wxObject)
#endif
#ifndef __WXOSX_IPHONE__
+#ifndef __MAC_10_12
#include <QuickTime/QuickTime.h>
#endif
+#endif
CGColorSpaceRef wxMacGetGenericRGBColorSpace();
CGDataProviderRef wxMacCGDataProviderCreateWithMemoryBuffer( const wxMemoryBuffer& buf );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment