Mercurial > sdl-ios-xcode
diff include/SDL_config.h.in @ 3012:7e30c2dc7783
Fixed Visual C++ release build for Visual C++ 2005
* Some math functions become intrinsic in release mode, so we need to
convert all the math functions into SDL math functions, like we did
with the stdlib functions.
* Constant initializers of 8-bit values become calls to memset() in
release mode, but memset() itself is an intrinsic when explicitly
called. So we'll just explicitly call memset() in those cases.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Jan 2009 18:32:24 +0000 |
parents | d364ee9b9c15 |
children | 54fac87e1f34 |
line wrap: on
line diff
--- a/include/SDL_config.h.in Fri Jan 09 20:43:30 2009 +0000 +++ b/include/SDL_config.h.in Sat Jan 10 18:32:24 2009 +0000 @@ -129,7 +129,18 @@ #undef HAVE_SSCANF #undef HAVE_SNPRINTF #undef HAVE_VSNPRINTF -#undef HAVE_ICONV +#undef HAVE_M_PI +#undef HAVE_COPYSIGN +#undef HAVE_COS +#undef HAVE_COSF +#undef HAVE_FABS +#undef HAVE_FLOOR +#undef HAVE_LOG +#undef HAVE_POW +#undef HAVE_SCALBN +#undef HAVE_SIN +#undef HAVE_SINF +#undef HAVE_SQRT #undef HAVE_SIGACTION #undef HAVE_SETJMP #undef HAVE_NANOSLEEP