summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-27 14:07:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 14:07:15 +0100
commitce1cce54ec94a9d3e63830ebc7452c7418e6a34e (patch)
tree4263601c925d13403ec7f8daee6980b289077612
parent-Werror=unused-macros (diff)
downloadcore-ce1cce54ec94a9d3e63830ebc7452c7418e6a34e.tar.gz
core-ce1cce54ec94a9d3e63830ebc7452c7418e6a34e.zip
At least Mac OS X SDK 10.7 does not need that
(causes -Werror,-Wunused-macros, rather) Change-Id: Ic8449c7794739033ddf1f6227f025ce4a0c899d0
-rw-r--r--slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
index 06b44c7fe85a..1a55e41b4050 100644
--- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
+++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
@@ -26,7 +26,11 @@
*
************************************************************************/
+#include "sal/config.h"
+
+#if MACOSX_SDK_VERSION < 1070
#define GLX_GLXEXT_PROTOTYPES 1
+#endif
#include "OGLTrans_TransitionImpl.hxx"
#include <com/sun/star/beans/XFastPropertySet.hpp>