Welcome to mirror list, hosted at ThFree Co, Russian Federation.

collections_port.h.mingw.patch « patches « ceres « third_party « libmv « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c01a17c7992b7bb17dc4a04a9e94cfb598c80231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/internal/ceres/collections_port.h b/internal/ceres/collections_port.h
index a356cc0..c2fce90 100644
--- a/internal/ceres/collections_port.h
+++ b/internal/ceres/collections_port.h
@@ -77,7 +77,7 @@ struct HashMap : std::tr1::unordered_map<K, V> {};
 template<typename K>
 struct HashSet : std::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