Mercurial > sdl-ios-xcode
comparison include/SDL_config_win32.h @ 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 | 99210400e8b9 |
children | 77c3e67f0740 |
comparison
equal
deleted
inserted
replaced
3011:8f4ed5ec2b06 | 3012:7e30c2dc7783 |
---|---|
114 #define HAVE_STRCMP 1 | 114 #define HAVE_STRCMP 1 |
115 #define HAVE_STRNCMP 1 | 115 #define HAVE_STRNCMP 1 |
116 #define HAVE__STRICMP 1 | 116 #define HAVE__STRICMP 1 |
117 #define HAVE__STRNICMP 1 | 117 #define HAVE__STRNICMP 1 |
118 #define HAVE_SSCANF 1 | 118 #define HAVE_SSCANF 1 |
119 #define HAVE_M_PI 1 | |
120 #define HAVE_COPYSIGN 1 | |
121 #define HAVE_COS 1 | |
122 #define HAVE_COSF 1 | |
123 #define HAVE_FABS 1 | |
124 #define HAVE_FLOOR 1 | |
125 #define HAVE_LOG 1 | |
126 #define HAVE_POW 1 | |
127 #define HAVE_SCALBN 1 | |
128 #define HAVE_SIN 1 | |
129 #define HAVE_SINF 1 | |
130 #define HAVE_SQRT 1 | |
119 #else | 131 #else |
120 #define HAVE_STDARG_H 1 | 132 #define HAVE_STDARG_H 1 |
121 #define HAVE_STDDEF_H 1 | 133 #define HAVE_STDDEF_H 1 |
122 #endif | 134 #endif |
123 | 135 |