We might actually have PI
authorSam Lantinga <slouken@libsdl.org>
Thu, 01 Nov 2012 00:12:57 -0700
changeset 6627 23b7cef164ae
parent 6626 4aa5af31f2f9
child 6628 7994e6979876
We might actually have PI
include/SDL_stdinc.h
--- a/include/SDL_stdinc.h	Tue Oct 30 23:11:03 2012 -0400
+++ b/include/SDL_stdinc.h	Thu Nov 01 00:12:57 2012 -0700
@@ -633,8 +633,10 @@
 #endif
 
 #ifndef HAVE_M_PI
+#ifndef M_PI
 #define M_PI    3.14159265358979323846264338327950288   /* pi */
 #endif
+#endif
 
 #ifdef HAVE_ATAN
 #define SDL_atan        atan