Mercurial > sdl-ios-xcode
comparison src/loadso/win32/SDL_sysloadso.c @ 1635:92947e3a18db
Make sure code is only compiled if the appropriate subsystem is enabled
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 14 Apr 2006 04:46:47 +0000 |
parents | bb6839704ed6 |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
1634:14f302c5b32c | 1635:92947e3a18db |
---|---|
18 | 18 |
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | |
24 #ifdef SDL_LOADSO_WIN32 | |
23 | 25 |
24 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | 26 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
25 /* System dependent library loading routines */ | 27 /* System dependent library loading routines */ |
26 | 28 |
27 #define WIN32_LEAN_AND_MEAN | 29 #define WIN32_LEAN_AND_MEAN |
132 if ( handle != NULL ) { | 134 if ( handle != NULL ) { |
133 FreeLibrary((HMODULE)handle); | 135 FreeLibrary((HMODULE)handle); |
134 } | 136 } |
135 } | 137 } |
136 | 138 |
139 #endif /* SDL_LOADSO_WIN32 */ |