--- old/hotspot/src/share/vm/utilities/globalDefinitions_visCPP.hpp 2015-12-16 21:11:23.733735356 +0100 +++ new/hotspot/src/share/vm/utilities/globalDefinitions_visCPP.hpp 2015-12-16 21:11:23.617735354 +0100 @@ -195,6 +195,7 @@ #pragma warning( disable : 4996 ) // unsafe string functions. Same as define _CRT_SECURE_NO_WARNINGS/_CRT_SECURE_NO_DEPRICATE #endif +#if _MSC_VER <= 1800 inline int vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr) { // If number of characters written == count, Windows doesn't write a // terminating NULL, so we do it ourselves. @@ -202,6 +203,7 @@ if (count > 0) buf[count-1] = '\0'; return ret; } +#endif // Portability macros #define PRAGMA_INTERFACE