From: kgv Date: Thu, 23 Oct 2014 19:51:43 +0000 (+0400) Subject: 0025417: Visualization, OpenGl_Context - fix preprocessor check to load GL functions... X-Git-Tag: V6_8_0~54 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=afbdee68fae81cde81e662180f6d078892328d7a;p=occt-copy.git 0025417: Visualization, OpenGl_Context - fix preprocessor check to load GL functions on OS X --- diff --git a/src/OpenGl/OpenGl_Context.cxx b/src/OpenGl/OpenGl_Context.cxx index c9602a7707..9702d155f0 100644 --- a/src/OpenGl/OpenGl_Context.cxx +++ b/src/OpenGl/OpenGl_Context.cxx @@ -135,7 +135,7 @@ OpenGl_Context::OpenGl_Context (const Handle(OpenGl_Caps)& theCaps) #endif myDrawBuffer (0) { -#if defined(MAC_OS_X_VERSION_10_3) && !defined(MACOSX_USE_GLX) +#if defined(__APPLE__) && !defined(MACOSX_USE_GLX) // Vendors can not extend functionality on this system // and developers are limited to OpenGL support provided by Mac OS X SDK. // We retrieve function pointers from system library