diff src/libm/math.h @ 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 02aa80d7905f
children 2a46b5912665
line wrap: on
line diff
--- a/src/libm/math.h	Sun Oct 12 16:15:43 2008 +0000
+++ b/src/libm/math.h	Sun Oct 12 16:21:36 2008 +0000
@@ -22,6 +22,7 @@
 #include "SDL_config.h"
 
 #ifdef HAVE_MATH_H
+#define _USE_MATH_DEFINES
 #include <math.h>
 #else