forked from bartvdbraak/blender
Fix compilation of new tracker for MinGW/MinGW64
This commit is contained in:
parent
5248ec57d9
commit
5f1eec564f
@ -53,7 +53,7 @@ struct HashMap : tr1::unordered_map<K, V> {};
|
||||
template<typename K>
|
||||
struct HashSet : tr1::unordered_set<K> {};
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) && !defined(__MINGW64__) && !defined(__MINGW32__)
|
||||
#define GG_LONGLONG(x) x##I64
|
||||
#define GG_ULONGLONG(x) x##UI64
|
||||
#else
|
||||
|
13
extern/libmv/third_party/ceres/patches/collections_port.h.mingw.patch
vendored
Normal file
13
extern/libmv/third_party/ceres/patches/collections_port.h.mingw.patch
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Index: internal/ceres/collections_port.h
|
||||
===================================================================
|
||||
--- internal/ceres/collections_port.h (revision 47730)
|
||||
+++ internal/ceres/collections_port.h (working copy)
|
||||
@@ -53,7 +53,7 @@
|
||||
template<typename K>
|
||||
struct HashSet : tr1::unordered_set<K> {};
|
||||
|
||||
-#ifdef _WIN32
|
||||
+#if defined(_WIN32) && !defined(__MINGW64__) && !defined(__MINGW32__)
|
||||
#define GG_LONGLONG(x) x##I64
|
||||
#define GG_ULONGLONG(x) x##UI64
|
||||
#else
|
Loading…
Reference in New Issue
Block a user