diff --git a/common/src/Utilities/HashTools.cpp b/common/src/Utilities/HashTools.cpp
index c5c3ad3061..8ffdb0255e 100644
--- a/common/src/Utilities/HashTools.cpp
+++ b/common/src/Utilities/HashTools.cpp
@@ -29,16 +29,7 @@ namespace HashTools {
 /// <seealso cref="CommonHashClass"/>
 const CommonHashClass GetCommonHash;
 
-#undef get16bits
-#if (defined(__GNUC__) && defined(__i386__)) || defined(__WATCOMC__) \
-  || defined(_MSC_VER) || defined (__BORLANDC__) || defined (__TURBOC__)
 #define get16bits(d) (*((const u16 *) (d)))
-#endif
-
-#if !defined (get16bits)
-#define get16bits(d) ((((u32)(((const ubyte *)(d))[1])) << 8)\
-					   +(u32)(((const ubyte *)(d))[0]) )
-#endif
 
 /// <summary>
 ///   Calculates a hash value for an arbitrary set of binary data.