diff pytouhou/lib/sdl.pxd @ 450:2a352118c55a

Add back Windows support, using GLEW for OpenGL.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 30 Aug 2013 18:21:07 +0200
parents 52829ebe2561
children 6864a38b2413
line wrap: on
line diff
--- a/pytouhou/lib/sdl.pxd
+++ b/pytouhou/lib/sdl.pxd
@@ -23,6 +23,11 @@ cdef extern from "SDL.h":
     void SDL_Quit()
 
 
+IF UNAME_SYSNAME == "Windows":
+    cdef extern from "SDL_main.h":
+        void SDL_SetMainReady()
+
+
 cdef extern from "SDL_error.h":
     const char *SDL_GetError()