include/SDL_stdinc.h
changeset 8316 88f011703f39
parent 6138 4c64952a58fb
child 8337 4a67a3cca43d
equal deleted inserted replaced
8315:76c317e41b53 8316:88f011703f39
    70 #endif
    70 #endif
    71 #ifdef HAVE_CTYPE_H
    71 #ifdef HAVE_CTYPE_H
    72 # include <ctype.h>
    72 # include <ctype.h>
    73 #endif
    73 #endif
    74 #ifdef HAVE_MATH_H
    74 #ifdef HAVE_MATH_H
       
    75 # if defined(__WINRT__)
       
    76 /* Defining _USE_MATH_DEFINES is required to get M_PI to be defined on
       
    77    Windows RT.  See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
       
    78    for more information.
       
    79 */
       
    80 #  define _USE_MATH_DEFINES
       
    81 # endif
    75 # include <math.h>
    82 # include <math.h>
    76 #endif
    83 #endif
    77 #if defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
    84 #if defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
    78 # include <iconv.h>
    85 # include <iconv.h>
    79 #endif
    86 #endif