Some updates to make the code compatible with VC 9 (2008)
VC 9 doesn't support late variable declarations, and doesn't have inttypes so we need some direct definitions of a couple of more types.
This commit is contained in:
@@ -65,7 +65,7 @@ int printbuf_memappend(struct printbuf *p, const char *buf, int size)
|
||||
return size;
|
||||
}
|
||||
|
||||
#if !HAVE_VSNPRINTF && defined(WIN32)
|
||||
#if !HAVE_VSNPRINTF && defined(_MSC_VER)
|
||||
# define vsnprintf _vsnprintf
|
||||
#elif !HAVE_VSNPRINTF /* !HAVE_VSNPRINTF */
|
||||
# error Need vsnprintf!
|
||||
|
||||
Reference in New Issue
Block a user