summaryrefslogtreecommitdiffstats
path: root/external/coinmp/werror-undef.patch.0
diff options
context:
space:
mode:
Diffstat (limited to 'external/coinmp/werror-undef.patch.0')
-rw-r--r--external/coinmp/werror-undef.patch.011
1 files changed, 11 insertions, 0 deletions
diff --git a/external/coinmp/werror-undef.patch.0 b/external/coinmp/werror-undef.patch.0
new file mode 100644
index 000000000..a9b80f280
--- /dev/null
+++ b/external/coinmp/werror-undef.patch.0
@@ -0,0 +1,11 @@
+--- CoinUtils/src/config_coinutils_default.h 2014-06-06 14:28:06.872113540 +0100
++++ CoinUtils/src/config_coinutils_default.h 2014-06-06 14:28:29.400294129 +0100
+@@ -26,7 +26,7 @@
+ all of this inside the guard for MSC_VER >= 1200. If you're reading this
+ and have been developing in MSVS long enough to know, fix it. -- lh, 100915 --
+ */
+-#if _MSC_VER >= 1200
++#if defined _MSC_VER && _MSC_VER >= 1200
+ # include <BaseTsd.h>
+ # define COIN_INT64_T INT64
+ # define COIN_UINT64_T UINT64