diff options
author | John Arbash Meinel <john@arbash-meinel.com> | 2012-02-01 09:27:49 +0100 |
---|---|---|
committer | John Arbash Meinel <john@arbash-meinel.com> | 2012-02-01 09:27:49 +0100 |
commit | 6a231e4b414bc0fde02b4b6a66929302bd8ce6f6 (patch) | |
tree | 99b9f85f6d56bc007e534e86865a1780fc0db09a /printbuf.c | |
parent | faa535386a0c0a984caa4cc522d0cf70c97bc68f (diff) | |
download | json-c-6a231e4b414bc0fde02b4b6a66929302bd8ce6f6.tar.gz |
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.
Diffstat (limited to 'printbuf.c')
-rw-r--r-- | printbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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! |