FS-4649: --resolve fix ifdefs for opengl headers
This commit is contained in:
parent
4b96a8b2e5
commit
a9017b4d4d
|
@ -31,11 +31,16 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#if HAVE_APPLE_OPENGL_FRAMEWORK
|
#if HAVE_OPENGL_GL_H
|
||||||
# include <OpenGL/gl.h>
|
# include <OpenGL/gl.h>
|
||||||
|
#endif
|
||||||
|
#if HAVE_GLUT_GLUT_H
|
||||||
# include <GLUT/glut.h>
|
# include <GLUT/glut.h>
|
||||||
#else
|
#endif
|
||||||
|
#if HAVE_GL_GL_H
|
||||||
# include <GL/gl.h>
|
# include <GL/gl.h>
|
||||||
|
#endif
|
||||||
|
#if HAVE_GL_GLUT_H
|
||||||
# include <GL/glut.h>
|
# include <GL/glut.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue