equal
deleted
inserted
replaced
196 } |
196 } |
197 |
197 |
198 |
198 |
199 /* Obviously we can't use SDL_LoadObject() to load SDL. :) */ |
199 /* Obviously we can't use SDL_LoadObject() to load SDL. :) */ |
200 /* Also obviously, we never close the loaded library. */ |
200 /* Also obviously, we never close the loaded library. */ |
201 #if defined(_WINDOWS) |
201 #if defined(_WINDOWS) || defined(__CYGWIN__) |
202 #ifndef WIN32_LEAN_AND_MEAN |
202 #ifndef WIN32_LEAN_AND_MEAN |
203 #define WIN32_LEAN_AND_MEAN 1 |
203 #define WIN32_LEAN_AND_MEAN 1 |
204 #endif |
204 #endif |
205 #include <windows.h> |
205 #include <windows.h> |
206 static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym) |
206 static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym) |