summaryrefslogtreecommitdiff
path: root/ext/xmlrpc
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-05-10 21:27:20 +0200
committerAnatol Belski <ab@php.net>2015-05-10 22:22:02 +0200
commite570bb430d83c93e5e06505349222996c6072003 (patch)
treed6e952b11f9c45b4d4d85785a005fe54ab2c2a6d /ext/xmlrpc
parentf22a5bd710ca62175275e0cd5d5143c010e94bf1 (diff)
downloadphp-git-e570bb430d83c93e5e06505349222996c6072003.tar.gz
fix snprintf redefinition in libxmlrpc under vc14
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r--ext/xmlrpc/libxmlrpc/xmlrpc_win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h b/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h
index d8d0635efb..3e45052b0d 100644
--- a/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h
+++ b/ext/xmlrpc/libxmlrpc/xmlrpc_win32.h
@@ -6,7 +6,7 @@
#ifndef inline
# define inline __inline
#endif
-#ifndef snprintf
+#if !defined(snprintf) && _MSC_VER < 1900
# define snprintf _snprintf
#endif
#ifndef strcasecmp