Remove mingw-w64 errors from loss of precision by converting 64bit pointers to ints...
[blender.git] / source / gameengine / Expressions / KX_HashedPtr.cpp
index 51550d52636bf7bc736c83728ada163034edc0ea..84488e3641d3fcc532bdc0507a86da2f07ed6d11 100644 (file)
 /** \file gameengine/Expressions/KX_HashedPtr.cpp
  *  \ingroup expressions
  */
-
+#ifdef __MINGW64__
+#include <basetsd.h>
+#endif
 
 #include "KX_HashedPtr.h"
 
 unsigned int KX_Hash(void * inDWord)
 {
-#if defined(_WIN64) && !defined(FREE_WINDOWS64)
+#ifdef _WIN64
        unsigned __int64 key = (unsigned __int64)inDWord;
 #else
        unsigned long key = (unsigned long)inDWord;