diff options
author | rubidium <rubidium@openttd.org> | 2007-12-21 08:34:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-21 08:34:53 +0000 |
commit | d5c4ba8246fbd9b44469037d8224a94c0a5ce5d3 (patch) | |
tree | ddf7507662244ef0ad7c479cce554387f33cec36 /src/openttd.h | |
parent | a6b1526c13506c47e892f1b66e2445c7a7e2beed (diff) | |
download | openttd-d5c4ba8246fbd9b44469037d8224a94c0a5ce5d3.tar.xz |
(svn r11673) -Codechange: move the overflow safe type to a separate file.
Diffstat (limited to 'src/openttd.h')
-rw-r--r-- | src/openttd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openttd.h b/src/openttd.h index 7fd02174b..11db9139e 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -8,6 +8,7 @@ #define VARDEF extern #endif +#include "macros.h" #include "helpers.hpp" struct Oblong { @@ -68,7 +69,7 @@ typedef uint16 GroupID; typedef uint16 EngineRenewID; typedef uint16 DestinationID; -typedef OverflowSafeInt<int64, INT64_MAX, INT64_MIN> OverflowSafeInt64; +#include "core/overflowsafe_type.hpp" typedef OverflowSafeInt64 Money; /* DestinationID must be at least as large as every these below, because it can |