mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Patched to compile on Cygwin.
This commit is contained in:
parent
e9689e8df6
commit
960458e58c
@ -198,7 +198,7 @@ SDL_DYNAPI_entry(Uint32 apiver, void *table, Uint32 tablesize)
|
|||||||
|
|
||||||
/* Obviously we can't use SDL_LoadObject() to load SDL. :) */
|
/* Obviously we can't use SDL_LoadObject() to load SDL. :) */
|
||||||
/* Also obviously, we never close the loaded library. */
|
/* Also obviously, we never close the loaded library. */
|
||||||
#if defined(_WINDOWS)
|
#if defined(_WINDOWS) || defined(__CYGWIN__)
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN 1
|
#define WIN32_LEAN_AND_MEAN 1
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user