summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-04-23 16:43:21 +0200
committerJose <jose@zeroc.com>2014-04-23 16:43:21 +0200
commitfcbdc94628db163fc996c1d4da2ba8731dc798d3 (patch)
tree572b1a8fe69ef9a3ee7dd10eee9ae89e5da973d9 /php/src
parentUbuntu package updates for Ubuntu 14.04 (diff)
downloadice-fcbdc94628db163fc996c1d4da2ba8731dc798d3.tar.bz2
ice-fcbdc94628db163fc996c1d4da2ba8731dc798d3.tar.xz
ice-fcbdc94628db163fc996c1d4da2ba8731dc798d3.zip
Minor remove VC90 workarounds
Diffstat (limited to 'php/src')
-rw-r--r--php/src/IcePHP/Util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/src/IcePHP/Util.cpp b/php/src/IcePHP/Util.cpp
index 345ffed6d7b..1cc3c9e5c65 100644
--- a/php/src/IcePHP/Util.cpp
+++ b/php/src/IcePHP/Util.cpp
@@ -793,7 +793,7 @@ IcePHP::runtimeError(const char* fmt TSRMLS_DC, ...)
va_start(args, fmt);
#endif
-#if defined(_MSC_VER) && (_MSC_VER >= 1500)
+#if defined(_MSC_VER)
vsprintf_s(msg, fmt, args);
#else
vsprintf(msg, fmt, args);
@@ -816,7 +816,7 @@ IcePHP::invalidArgument(const char* fmt TSRMLS_DC, ...)
va_start(args, fmt);
#endif
-#if defined(_MSC_VER) && (_MSC_VER >= 1500)
+#if defined(_MSC_VER)
vsprintf_s(msg, fmt, args);
#else
vsprintf(msg, fmt, args);