1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0025051: Compilation issues on OS X 10.6.8

Added define to prevent inclusion of system glext.h on Mac OS X 10.6.8
This commit is contained in:
dbv 2014-07-04 13:14:32 +04:00 committed by apn
parent 595a42a43f
commit 0e9d3b83b8
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,8 @@
#if defined(__APPLE__) && !defined(MACOSX_USE_GLX)
#define GL_GLEXT_LEGACY // To prevent inclusion of system glext.h on Mac OS X 10.6.8
#import <Cocoa/Cocoa.h>
#include <OpenGl_GlCore11.hxx>

View File

@ -15,6 +15,8 @@
#if defined(__APPLE__) && !defined(MACOSX_USE_GLX)
#define GL_GLEXT_LEGACY // To prevent inclusion of system glext.h on Mac OS X 10.6.8
#import <Cocoa/Cocoa.h>
#include <InterfaceGraphic.hxx>