MSVC 2015 fix: do not redefine snprintf, even MS is getting standards complient
authorMartijn Berger <martijn.berger@gmail.com>
Thu, 31 Dec 2015 07:53:06 +0000 (08:53 +0100)
committerMartijn Berger <martijn.berger@gmail.com>
Thu, 31 Dec 2015 07:53:06 +0000 (08:53 +0100)
extern/libmv/intern/utildefines.h

index 7366b242cf75524887168b3141c9e705d3fd9683..b1f11d6091e7e9345402eb9a98d0c1065640610c 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef LIBMV_C_API_UTILDEFINES_H_
 #define LIBMV_C_API_UTILDEFINES_H_
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && _MSC_VER < 1900
 #  define __func__ __FUNCTION__
 #  define snprintf _snprintf
 #endif