Преглед изворни кода

opengl: make SDL_opengl_glext.h's include compatible with macos

- Mesa defines __gl_glext_h_
- Apple defines __glext_h_
Anonymous Maarten пре 3 година
родитељ
комит
0dc4373aad
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      include/SDL_opengl_glext.h

+ 2 - 1
include/SDL_opengl_glext.h

@@ -1,4 +1,5 @@
-#ifndef __gl_glext_h_
+#if !defined(__glext_h_) && !defined(__gl_glext_h_)
+#define __glext_h_ 1
 #define __gl_glext_h_ 1
 
 #ifdef __cplusplus