comparison decoders/mpglib/mpg123_sdlsound.h @ 377:cbb15ecf423a

WinCE (PocketPC) patches from Tyler.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 02 Jul 2002 03:58:24 +0000
parents 31cc49d7d0ce
children c42ac9ee2ce4
comparison
equal deleted inserted replaced
376:51883cd1193e 377:cbb15ecf423a
1 #include <stdio.h> 1 #include <stdio.h>
2 #include <string.h> 2 #include <string.h>
3 #include <signal.h>
4 3
5 #if !defined(WIN32) && !defined(macintosh) 4 #if !defined(WIN32) && !defined(macintosh) && !defined(_WIN32_WCE)
6 #include <unistd.h> 5 #include <unistd.h>
7 #endif 6 #endif
8 7
9 #include <math.h> 8 #include <math.h>
10 9
11 #if defined(_WIN32) 10 #if defined(_WIN32)
12 # undef WIN32 11 # undef WIN32
13 # define WIN32 12 # define WIN32
14 #endif 13 #endif
15 14
16 #if defined(WIN32) || defined(macintosh) 15 #if defined(WIN32) || defined(macintosh) || defined(_WIN32_WCE)
17 16
18 # define M_PI 3.14159265358979323846 17 # define M_PI 3.14159265358979323846
19 # define M_SQRT2 1.41421356237309504880 18 # define M_SQRT2 1.41421356237309504880
20 # define REAL_IS_FLOAT 19 # define REAL_IS_FLOAT
21 # define NEW_DCT9 20 # define NEW_DCT9