Browse Source

Hacked SDL_egl.h so it doesn't try to #include egl.h in mingw builds.

Mark Sibly 7 years ago
parent
commit
613ac15e70
1 changed files with 4 additions and 1 deletions
  1. 4 1
      modules/sdl2/SDL/include/SDL_egl.h

+ 4 - 1
modules/sdl2/SDL/include/SDL_egl.h

@@ -24,7 +24,10 @@
  *
  *
  *  This is a simple file to encapsulate the EGL API headers.
  *  This is a simple file to encapsulate the EGL API headers.
  */
  */
-#ifndef _MSC_VER
+ 
+ //Mark was here! was #ifndef _MSC_VER, but we don't want mingw to be dependant on egl.h
+ //
+#ifndef _WIN32
 
 
 #include <EGL/egl.h>
 #include <EGL/egl.h>
 #include <EGL/eglext.h>
 #include <EGL/eglext.h>