Fix for compilation error when compiling dualcon with mingw
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 31 Dec 2011 11:08:04 +0000 (11:08 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 31 Dec 2011 11:08:04 +0000 (11:08 +0000)
intern/dualcon/intern/Projections.h

index 2495747ab03820054cbf450c8faf0d2fb2b113d4..a01b4dffdb0b2daffd81973381a9d789f7506bcd 100644 (file)
 #define CONTAINS_INDEX
 #define GRID_DIMENSION 20
 
-#if defined(_WIN32) && !defined(FREE_WINDOWS)
+#if defined(_WIN32) && !defined(__MINGW32__)
 #define LONG __int64
 #else
+#include <stdint.h>
 #define LONG int64_t
 #endif
 #define UCHAR unsigned char