mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Darwin platform build fix (#10376)
the event header seemingly being generic with libevent thus renaming it. openal and opengl are deprecated on newer mac os releases thus suppressing the build warnings.
This commit is contained in:
parent
0d128ab344
commit
62913b872e
7 changed files with 10 additions and 4 deletions
|
@ -45,7 +45,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <GLES2/gl2.h>
|
||||
#endif
|
||||
#else
|
||||
#ifndef __APPLE__
|
||||
#include <GL/gl.h>
|
||||
#else
|
||||
#define GL_SILENCE_DEPRECATION
|
||||
#include <OpenGL/gl.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue