mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +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:
parent
595a42a43f
commit
0e9d3b83b8
@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
#if defined(__APPLE__) && !defined(MACOSX_USE_GLX)
|
#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>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
#include <OpenGl_GlCore11.hxx>
|
#include <OpenGl_GlCore11.hxx>
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
#if defined(__APPLE__) && !defined(MACOSX_USE_GLX)
|
#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>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
#include <InterfaceGraphic.hxx>
|
#include <InterfaceGraphic.hxx>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user