浏览代码

fix sdl error (sdl 2.0.6 change)

Nicolas Cannasse 8 年之前
父节点
当前提交
b1a371347c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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