Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
We might actually have PI
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 1, 2012
1 parent aa26fef commit 040c6a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/SDL_stdinc.h
Expand Up @@ -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
Expand Down

0 comments on commit 040c6a3

Please sign in to comment.