contrib/coin-or-mp/werror-undef.patch.0

12 lines
490 B
Plaintext

--- 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