include/SDL_stdinc.h
changeset 4870 d275c95ddc05
parent 4763 518d1679d2d0
child 4873 67ad1c88dda0
     1.1 --- a/include/SDL_stdinc.h	Sun Aug 29 15:26:12 2010 -0700
     1.2 +++ b/include/SDL_stdinc.h	Sun Aug 29 16:05:34 2010 -0700
     1.3 @@ -694,6 +694,12 @@
     1.4  #define M_PI    3.14159265358979323846264338327950288   /* pi */
     1.5  #endif
     1.6  
     1.7 +#ifdef HAVE_ATAN2
     1.8 +#define SDL_atan2       atan2
     1.9 +#else
    1.10 +extern DECLSPEC double SDLCALL SDL_atan2(double y, double x);
    1.11 +#endif
    1.12 +
    1.13  #ifdef HAVE_CEIL
    1.14  #define SDL_ceil        ceil
    1.15  #else