mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0023238: TKOpenGl glext header conflicts with system headers
This commit is contained in:
parent
3c4153af69
commit
be34de4b94
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,6 +3,7 @@
|
|||||||
/.adm
|
/.adm
|
||||||
/sun
|
/sun
|
||||||
/lin
|
/lin
|
||||||
|
/mac
|
||||||
/ao1
|
/ao1
|
||||||
/sil
|
/sil
|
||||||
/wnt
|
/wnt
|
||||||
@ -15,3 +16,5 @@
|
|||||||
# /adm/
|
# /adm/
|
||||||
/adm/win32
|
/adm/win32
|
||||||
/adm/win64
|
/adm/win64
|
||||||
|
/adm/mac
|
||||||
|
/adm/lin
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
// include main OpenGL header provided with system
|
// include main OpenGL header provided with system
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
#include <OpenGL/OpenGL.h>
|
#include <OpenGL/gl.h>
|
||||||
#include <OpenGL/glu.h>
|
#include <OpenGL/glu.h>
|
||||||
#define __X_GL_H // prevent chaotic gl.h inclusions to avoid compile errors
|
#define __X_GL_H // prevent chaotic gl.h inclusions to avoid compile errors
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user