QTfrontend/util/SDLInteraction.h
branchsdl2transition
changeset 9709 9315727c0f1d
parent 9701 7f6786625667
child 11362 ed5a6478e710
--- a/QTfrontend/util/SDLInteraction.h	Fri Dec 06 00:45:32 2013 +0100
+++ b/QTfrontend/util/SDLInteraction.h	Fri Dec 06 00:56:56 2013 +0100
@@ -29,6 +29,13 @@
 #include <QStringList>
 #include <QSize>
 
+// workaround some strange Qt and SLD2 interaction
+#ifdef Q_OS_MAC
+#  ifdef MAC_OS_X_VERSION_MIN_REQUIRED
+#    undef MAC_OS_X_VERSION_MIN_REQUIRED
+#    define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6
+#  endif
+#endif
 #include "SDL_mixer.h"
 
 /**