include/SDL_config_windows.h
changeset 11480 e7a79b236dc0
parent 11457 3db9f2a42870
child 11486 0f4bf9e4a498
equal deleted inserted replaced
11479:74650172be10 11480:e7a79b236dc0
    84 #define HAVE_XINPUT_H 1
    84 #define HAVE_XINPUT_H 1
    85 
    85 
    86 /* This is disabled by default to avoid C runtime dependencies and manifest requirements */
    86 /* This is disabled by default to avoid C runtime dependencies and manifest requirements */
    87 #ifdef HAVE_LIBC
    87 #ifdef HAVE_LIBC
    88 /* Useful headers */
    88 /* Useful headers */
       
    89 #define STDC_HEADERS 1
       
    90 #define HAVE_CTYPE_H 1
       
    91 #define HAVE_FLOAT_H 1
       
    92 #define HAVE_LIMITS_H 1
       
    93 #define HAVE_MATH_H 1
       
    94 #define HAVE_SIGNAL_H 1
    89 #define HAVE_STDIO_H 1
    95 #define HAVE_STDIO_H 1
    90 #define STDC_HEADERS 1
       
    91 #define HAVE_STRING_H 1
    96 #define HAVE_STRING_H 1
    92 #define HAVE_CTYPE_H 1
       
    93 #define HAVE_MATH_H 1
       
    94 #define HAVE_FLOAT_H 1
       
    95 #define HAVE_SIGNAL_H 1
       
    96 
    97 
    97 /* C library functions */
    98 /* C library functions */
    98 #define HAVE_MALLOC 1
    99 #define HAVE_MALLOC 1
    99 #define HAVE_CALLOC 1
   100 #define HAVE_CALLOC 1
   100 #define HAVE_REALLOC 1
   101 #define HAVE_REALLOC 1
   139 #define HAVE_SINF 1
   140 #define HAVE_SINF 1
   140 #define HAVE_SQRT 1
   141 #define HAVE_SQRT 1
   141 #define HAVE_SQRTF 1
   142 #define HAVE_SQRTF 1
   142 #define HAVE_TAN 1
   143 #define HAVE_TAN 1
   143 #define HAVE_TANF 1
   144 #define HAVE_TANF 1
       
   145 #if defined(_MSC_VER)
       
   146 /* These functions were added with the VC++ 2013 C runtime library */
   144 #if _MSC_VER >= 1800
   147 #if _MSC_VER >= 1800
   145 #define HAVE_STRTOLL 1
   148 #define HAVE_STRTOLL 1
   146 #define HAVE_VSSCANF 1
   149 #define HAVE_VSSCANF 1
   147 #define HAVE_COPYSIGN 1
   150 #define HAVE_COPYSIGN 1
   148 #define HAVE_SCALBN 1
   151 #define HAVE_SCALBN 1
       
   152 #endif
       
   153 /* This function is available with at least the VC++ 2008 C runtime library */
       
   154 #if _MSC_VER >= 1400
       
   155 #define HAVE__FSEEKI64 1
       
   156 #endif
   149 #endif
   157 #endif
   150 #if !defined(_MSC_VER) || defined(_USE_MATH_DEFINES)
   158 #if !defined(_MSC_VER) || defined(_USE_MATH_DEFINES)
   151 #define HAVE_M_PI 1
   159 #define HAVE_M_PI 1
   152 #endif
   160 #endif
   153 #else
   161 #else