# HG changeset patch # User Ryan C. Gordon # Date 1389161277 18000 # Node ID 6983d05a59730b1f108096959a0993cf9f2605f6 # Parent 03946863a1bbfca35bd9d5f7789b770fb1a9e4d8 Maybe fix Cygwin. diff -r 03946863a1bb -r 6983d05a5973 src/dynapi/SDL_dynapi.c --- a/src/dynapi/SDL_dynapi.c Wed Jan 08 00:58:03 2014 -0500 +++ b/src/dynapi/SDL_dynapi.c Wed Jan 08 01:07:57 2014 -0500 @@ -198,7 +198,7 @@ /* Obviously we can't use SDL_LoadObject() to load SDL. :) */ /* Also obviously, we never close the loaded library. */ -#if defined(_WINDOWS) || defined(__CYGWIN__) +#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 #endif