Mercurial > SDL_sound_CoreAudio
comparison 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 |
comparison
equal
deleted
inserted
replaced
321:182fdc76060d | 322:31cc49d7d0ce |
---|---|
1 #include <stdio.h> | 1 #include <stdio.h> |
2 #include <string.h> | 2 #include <string.h> |
3 #include <signal.h> | 3 #include <signal.h> |
4 | 4 |
5 #ifndef WIN32 | 5 #if !defined(WIN32) && !defined(macintosh) |
6 #include <unistd.h> | 6 #include <unistd.h> |
7 #endif | 7 #endif |
8 | 8 |
9 #include <math.h> | 9 #include <math.h> |
10 | 10 |
11 #ifdef _WIN32 | 11 #if defined(_WIN32) |
12 # undef WIN32 | 12 # undef WIN32 |
13 # define WIN32 | 13 # define WIN32 |
14 #endif | |
15 | |
16 #if defined(WIN32) || defined(macintosh) | |
14 | 17 |
15 # define M_PI 3.14159265358979323846 | 18 # define M_PI 3.14159265358979323846 |
16 # define M_SQRT2 1.41421356237309504880 | 19 # define M_SQRT2 1.41421356237309504880 |
17 # define REAL_IS_FLOAT | 20 # define REAL_IS_FLOAT |
18 # define NEW_DCT9 | 21 # define NEW_DCT9 |