Mercurial > SDL_sound_CoreAudio
diff decoders/mpglib/mpg123_sdlsound.h @ 322:31cc49d7d0ce
MacOS fixes.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 29 Apr 2002 06:12:47 +0000 |
parents | 7b1df7526915 |
children | cbb15ecf423a |
line wrap: on
line diff
--- a/decoders/mpglib/mpg123_sdlsound.h Mon Apr 29 06:12:20 2002 +0000 +++ b/decoders/mpglib/mpg123_sdlsound.h Mon Apr 29 06:12:47 2002 +0000 @@ -2,15 +2,18 @@ #include <string.h> #include <signal.h> -#ifndef WIN32 +#if !defined(WIN32) && !defined(macintosh) #include <unistd.h> #endif #include <math.h> -#ifdef _WIN32 +#if defined(_WIN32) # undef WIN32 # define WIN32 +#endif + +#if defined(WIN32) || defined(macintosh) # define M_PI 3.14159265358979323846 # define M_SQRT2 1.41421356237309504880