MSVC 2015 fix: do not redefine snprintf, even MS is getting standards complient

This commit is contained in:
Martijn Berger 2015-12-31 08:53:06 +01:00
parent 88477fe2bf
commit b6697b4d2a

@ -26,7 +26,7 @@
#ifndef LIBMV_C_API_UTILDEFINES_H_ #ifndef LIBMV_C_API_UTILDEFINES_H_
#define 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 __func__ __FUNCTION__
# define snprintf _snprintf # define snprintf _snprintf
#endif #endif