summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2008-08-14 18:16:58 +0200
committerTor Andersson <tor@ghostscript.com>2008-08-14 18:16:58 +0200
commitb712817c17a4d65861468df4303842ba6ae43f02 (patch)
tree752f196e67966f884c3d0a8bbb82c1c6b78f27b5
parent40a53a5580a820a72fbcdb67f3a88e842733c47b (diff)
downloadmupdf-b712817c17a4d65861468df4303842ba6ae43f02.tar.xz
vs 2008 compatibility (kjk)
-rw-r--r--include/fitz/base_sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fitz/base_sysdep.h b/include/fitz/base_sysdep.h
index 1610cd20..c3b7e0ff 100644
--- a/include/fitz/base_sysdep.h
+++ b/include/fitz/base_sysdep.h
@@ -27,7 +27,9 @@
#endif
#ifdef WIN32
+#if _MSC_VER < 1500
# define vsnprintf _vsnprintf
+#endif
# include <io.h>
#else
# include <unistd.h>