From d75665c7763536c5040d08674fe9879996da8210 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 8 Jan 2014 01:07:57 -0500 Subject: [PATCH] Maybe fix Cygwin. --- src/dynapi/SDL_dynapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dynapi/SDL_dynapi.c b/src/dynapi/SDL_dynapi.c index 144bc8464..8266185cb 100644 --- a/src/dynapi/SDL_dynapi.c +++ b/src/dynapi/SDL_dynapi.c @@ -198,7 +198,7 @@ SDL_DYNAPI_entry(Uint32 apiver, void *table, Uint32 tablesize) /* 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