Explorar o código

fix sdl error (sdl 2.0.6 change)

Nicolas Cannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
b1a371347c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libs/sdl/sdl.c

+ 1 - 1
libs/sdl/sdl.c

@@ -9,7 +9,7 @@
 #	include <SDL2/SDL.h>
 #endif
 
-#ifndef _SDL_H
+#ifndef SDL_MAJOR_VERSION
 #	error "SDL2 SDK not found in hl/include/sdl/"
 #endif