Mercurial > sdl-ios-xcode
diff src/joystick/win32/SDL_mmjoystick.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 | 14717b52abc0 |
line wrap: on
line diff
--- a/src/joystick/win32/SDL_mmjoystick.c Fri Apr 14 03:56:31 2006 +0000 +++ b/src/joystick/win32/SDL_mmjoystick.c Fri Apr 14 04:46:47 2006 +0000 @@ -21,6 +21,8 @@ */ #include "SDL_config.h" +#ifdef SDL_JOYSTICK_WINMM + /* Win32 MultiMedia Joystick driver, contributed by Andrei de A. Formiga */ #define WIN32_LEAN_AND_MEAN @@ -416,3 +418,5 @@ } SDL_SetError("%s", errbuf); } + +#endif /* SDL_JOYSTICK_WINMM */