comparison src/cdrom/win32/SDL_syscdrom.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 38a12fd1a2c1
children 782fd950bd46 c121d94672cb 96ce26f24b01
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_CDROM_WIN32
23 25
24 /* Functions for system-level CD-ROM audio control */ 26 /* Functions for system-level CD-ROM audio control */
25 27
26 #define WIN32_LEAN_AND_MEAN 28 #define WIN32_LEAN_AND_MEAN
27 #include <windows.h> 29 #include <windows.h>
377 SDL_free(SDL_cdlist[i]); 379 SDL_free(SDL_cdlist[i]);
378 } 380 }
379 SDL_numcds = 0; 381 SDL_numcds = 0;
380 } 382 }
381 } 383 }
384
385 #endif /* SDL_CDROM_WIN32 */