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