comparison src/audio/SDL_audiocvt.c @ 2768:26861c61142a

Don't include <math.h> when HAVE_MATH_H isn't defined
author Sam Lantinga <slouken@libsdl.org>
date Sun, 12 Oct 2008 16:21:36 +0000
parents f55c87ae336b
children 99210400e8b9
comparison
equal deleted inserted replaced
2767:73b9f5fc6690 2768:26861c61142a
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 #define _USE_MATH_DEFINES
25 #include <math.h>
26 23
27 /* Functions for audio drivers to perform runtime conversion of audio format */ 24 /* Functions for audio drivers to perform runtime conversion of audio format */
28 25
29 #include "SDL_audio.h" 26 #include "SDL_audio.h"
30 #include "SDL_audio_c.h" 27 #include "SDL_audio_c.h"