src/dynapi/SDL_dynapi.c
changeset 8100 03946863a1bb
parent 8095 15b248f1e5a0
child 8101 6983d05a5973
equal deleted inserted replaced
8099:d1cf6a27fa7e 8100:03946863a1bb
   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)