summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2007-03-09 23:26:21 +0000
committerKUDr <kudr@openttd.org>2007-03-09 23:26:21 +0000
commit933c40667868c4a57fc16e96f2cc7b2f1508a329 (patch)
tree8d26ee82fc47973a340b2c379f16971b506dc529 /src/stdafx.h
parentfe2b3e18fb5a7f4cbd1c2556ea88b44a2e7b8223 (diff)
downloadopenttd-933c40667868c4a57fc16e96f2cc7b2f1508a329.tar.xz
(svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use std::numeric_limits<uint32>::max() instead.
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 3c9419f84..faea27f11 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -20,6 +20,8 @@
# define INT64_MAX 9223372036854775807LL
#endif
+#include <limits>
+
#include <cstdio>
#include <cstddef>
#include <cstring>