diff options
author | michi_cc <michi_cc@openttd.org> | 2013-03-30 13:50:46 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-03-30 13:50:46 +0000 |
commit | 8ce21bb1c045e80944255cbeb500738194cd6152 (patch) | |
tree | 31868bd3d76696cfd2565f46c2d6c6745e02397e /src | |
parent | 9df9da8e0cbcf9f38af27d6b44706416adb9c004 (diff) | |
download | openttd-8ce21bb1c045e80944255cbeb500738194cd6152.tar.xz |
(svn r25128) -Codechange: [Win32] MSVC 2010 comes with stdint.h.
Diffstat (limited to 'src')
-rw-r--r-- | src/stdafx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index b3359b74d..b91466403 100644 --- 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. */ |