summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-22 19:05:26 +0000
committertron <tron@openttd.org>2007-02-22 19:05:26 +0000
commitfef1922705de8390a2fafcf8f890a350ec8fa501 (patch)
treee1c4e58ba07d56f8e6ef95de2f44cedf49cd37f4 /src/macros.h
parent84404cf014800c915de4d0891f07a2c5ea9596ec (diff)
downloadopenttd-fef1922705de8390a2fafcf8f890a350ec8fa501.tar.xz
(svn r8847) -Fix
There is not much point in hiding a normal 64bit multiplication in a function, so do not do it
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/macros.h b/src/macros.h
index 20b6024a2..00ef5af65 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -53,10 +53,6 @@ static inline uint32 BIGMULUS(uint32 a, uint32 b, int shift)
return (uint32)((uint64)a * (uint64)b >> shift);
}
-static inline int64 BIGMULS(int32 a, int32 b)
-{
- return (int64)a * (int64)b;
-}
/* OPT: optimized into an unsigned comparison */
//#define IS_INSIDE_1D(x, base, size) ((x) >= (base) && (x) < (base) + (size))