Browse Source

fix sdl error (sdl 2.0.6 change)

Nicolas Cannasse 8 years ago
parent
commit
b1a371347c
1 changed files with 1 additions and 1 deletions
  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