# HG changeset patch # User michi_cc # Date 2013-03-30 13:50:46 # Node ID 12a2a874bafc406087bda23542b71e97f72b9b3c # Parent c258eceb916ed358f95b9c768c45f7802ed8e3b4 (svn r25128) -Codechange: [Win32] MSVC 2010 comes with stdint.h. diff --git a/src/stdafx.h b/src/stdafx.h --- a/src/stdafx.h +++ b/src/stdafx.h @@ -30,7 +30,7 @@ * We need INT64_MAX, which for most systems comes from stdint.h. However, MSVC * does not have stdint.h and apparently neither does MorphOS. * For OSX the inclusion is already done in osx_stdafx.h. */ -#if !defined(__APPLE__) && !defined(_MSC_VER) && !defined(__MORPHOS__) +#if !defined(__APPLE__) && (!defined(_MSC_VER) || _MSC_VER >= 1600) && !defined(__MORPHOS__) #if defined(SUNOS) /* SunOS/Solaris does not have stdint.h, but inttypes.h defines everything * stdint.h defines and we need. */