Enabled 'fast' STL for vc9. secure_stl=0 && iterator_debugging=0.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@318 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-01-21 21:33:56 +00:00
parent 030d982cfa
commit 7dabd7cd72
7 changed files with 49 additions and 45 deletions
+2 -12
View File
@@ -61,23 +61,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# define AI_DEBUG_INVALIDATE_PTR(x)
#endif
// We depend heavily on the STL's performance, so we need to make sure
// that the M$ implementation isn't 'secure', but 'fast'
#if 0 // this crashes! what the fuck???
#if (defined _MSC_VER) && (!defined DEBUG)
# define _SECURE_SCL 0
# define _SCL_SECURE_NO_DEPRECATE
# define _HAS_ITERATOR_DEBUGGING 0
#endif
#endif
// If we have at least VC8 some C string manipulation functions
// are mapped to their safe _s counterparts (e.g. _itoa_s).
// are mapped to their safe _s counterparts (e.g. _itoa_s).
#if _MSC_VER >= 1400 && !(defined _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES)
# define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1
#endif
// Actually that'snot required for MSVC (it is included somewhere in
// Actually that's not required for MSVC (it is included somewhere in
// the STL ..) but it is necessary for build with STLport.
#include <ctype.h>