diff --git a/simgear/compiler.h b/simgear/compiler.h index ebaa7eb4..43e1c07d 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -64,9 +64,11 @@ # define bcopy(from, to, n) memcpy(to, from, n) # if _MSC_VER >= 1200 // msvc++ 6.0 up to MSVC2013 +# if _MSC_VER < 1900 +# define snprintf _snprintf +# endif # if _MSC_VER < 1800 # define isnan _isnan -# define snprintf _snprintf # endif # if _MSC_VER < 1500 # define vsnprintf _vsnprintf