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 | 8ebdfb258fcf9406ce1b7f333695987cb37e291c (patch) | |
tree | fc1669fb9cd1857bea972a4378d8ebd1e80facfa /src/core/overflowsafe_type.hpp | |
parent | 60c82d0f8c4c2b87cbc91df109308607704258a9 (diff) | |
download | openttd-8ebdfb258fcf9406ce1b7f333695987cb37e291c.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 |