Mercurial > mplayer.hg
diff libao2/ao_sdl.c @ 27727:48c1ae64255b
Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done.
author | diego |
---|---|
date | Mon, 13 Oct 2008 16:23:55 +0000 |
parents | d97a607821f1 |
children | 9a5b8c2ed6de |
line wrap: on
line diff
--- a/libao2/ao_sdl.c Mon Oct 13 16:06:15 2008 +0000 +++ b/libao2/ao_sdl.c Mon Oct 13 16:23:55 2008 +0000 @@ -52,7 +52,7 @@ #undef USE_SDL_INTERNAL_MIXER // Samplesize used by the SDLlib AudioSpec struct -#if defined(WIN32) || defined(__AMIGAOS4__) +#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__AMIGAOS4__) #define SAMPLESIZE 2048 #else #define SAMPLESIZE 1024