Patched to compile on Cygwin.
authorRyan C. Gordon
Wed, 08 Jan 2014 00:58:03 -0500
changeset 810003946863a1bb
parent 8099 d1cf6a27fa7e
child 8101 6983d05a5973
Patched to compile on Cygwin.
src/dynapi/SDL_dynapi.c
     1.1 --- a/src/dynapi/SDL_dynapi.c	Wed Jan 08 00:51:31 2014 -0500
     1.2 +++ b/src/dynapi/SDL_dynapi.c	Wed Jan 08 00:58:03 2014 -0500
     1.3 @@ -198,7 +198,7 @@
     1.4  
     1.5  /* Obviously we can't use SDL_LoadObject() to load SDL.  :)  */
     1.6  /* Also obviously, we never close the loaded library. */
     1.7 -#if defined(_WINDOWS)
     1.8 +#if defined(_WINDOWS) || defined(__CYGWIN__)
     1.9  #ifndef WIN32_LEAN_AND_MEAN
    1.10  #define WIN32_LEAN_AND_MEAN 1
    1.11  #endif