[Libreoffice-commits] core.git: slideshow/source

Stephan Bergmann sbergman at redhat.com
Wed Mar 27 06:07:42 PDT 2013


 slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit ce1cce54ec94a9d3e63830ebc7452c7418e6a34e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Mar 27 14:07:15 2013 +0100

    At least Mac OS X SDK 10.7 does not need that
    
    (causes -Werror,-Wunused-macros, rather)
    
    Change-Id: Ic8449c7794739033ddf1f6227f025ce4a0c899d0

diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
index 06b44c7..1a55e41 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>


More information about the Libreoffice-commits mailing list