From 9549fda7e07d0e7db1acbdda70d38c47ce63d93c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 1 Nov 2012 00:12:57 -0700 Subject: [PATCH] We might actually have PI --- include/SDL_stdinc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index d5163436c..d2002ba2e 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -633,8 +633,10 @@ extern DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen, #endif #ifndef HAVE_M_PI +#ifndef M_PI #define M_PI 3.14159265358979323846264338327950288 /* pi */ #endif +#endif #ifdef HAVE_ATAN #define SDL_atan atan