diff options
author | rubidium <rubidium@openttd.org> | 2007-12-21 19:21:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-21 19:21:21 +0000 |
commit | 01e20c91403ebe8c88697ec11812fb46d414c770 (patch) | |
tree | fc1669fb9cd1857bea972a4378d8ebd1e80facfa /src/core/overflowsafe_type.hpp | |
parent | d5c4ba8246fbd9b44469037d8224a94c0a5ce5d3 (diff) | |
download | openttd-01e20c91403ebe8c88697ec11812fb46d414c770.tar.xz |
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
Diffstat (limited to 'src/core/overflowsafe_type.hpp')
-rw-r--r-- | src/core/overflowsafe_type.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/overflowsafe_type.hpp b/src/core/overflowsafe_type.hpp index 632e261a6..8f1f404a7 100644 --- a/src/core/overflowsafe_type.hpp +++ b/src/core/overflowsafe_type.hpp @@ -5,6 +5,8 @@ #ifndef OVERFLOWSAFE_TYPE_HPP #define OVERFLOWSAFE_TYPE_HPP +#include "math_func.hpp" + /** * Overflow safe template for integers, i.e. integers that will never overflow * you multiply the maximum value with 2, or add 2, or substract somethng from |