diff options
Diffstat (limited to 'php/src/IcePHP/Util.cpp')
-rw-r--r-- | php/src/IcePHP/Util.cpp | 4 |
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); |