summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-03-30 13:50:46 +0000
committermichi_cc <michi_cc@openttd.org>2013-03-30 13:50:46 +0000
commit8ce21bb1c045e80944255cbeb500738194cd6152 (patch)
tree31868bd3d76696cfd2565f46c2d6c6745e02397e /src
parent9df9da8e0cbcf9f38af27d6b44706416adb9c004 (diff)
downloadopenttd-8ce21bb1c045e80944255cbeb500738194cd6152.tar.xz
(svn r25128) -Codechange: [Win32] MSVC 2010 comes with stdint.h.
Diffstat (limited to 'src')
-rw-r--r--src/stdafx.h2
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. */