com php-src: Remove this VC8 check as our minimum target version of VC is higher: ext/mysqlnd/mysqlnd_debug.h
| From: | Kalle Sommer Nielsen | Date: | Sun, 29 Mar 2015 04:50:09 +0000 |
| Subject: | com php-src: Remove this VC8 check as our minimum target version of VC is higher: ext/mysqlnd/mysqlnd_debug.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85911@lists.php.net to get a copy of this message | ||
Commit: 3d4aad5e277e08c3a972eb09ec2f44f06c31ef14
Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 29 Mar 2015 06:50:09 +0200
Parents: a75e8d1fe6e43571b2add5da5db9eed02c69a8fc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3d4aad5e277e08c3a972eb09ec2f44f06c31ef14
Log:
Remove this VC8 check as our minimum target version of VC is higher
Changed paths:
M ext/mysqlnd/mysqlnd_debug.h
Diff:
diff --git a/ext/mysqlnd/mysqlnd_debug.h b/ext/mysqlnd/mysqlnd_debug.h
index 3548ba3..1e6d0c1 100644
--- a/ext/mysqlnd/mysqlnd_debug.h
+++ b/ext/mysqlnd/mysqlnd_debug.h
@@ -71,7 +71,7 @@ void mysqlnd_debug_trace_plugin_register(void);
PHPAPI MYSQLND_DEBUG * mysqlnd_debug_init(const char * skip_functions[]);
-#if defined(__GNUC__) || (defined(_MSC_VER) && (_MSC_VER >= 1400))
+#if defined(__GNUC__) || defined(PHP_WIN32)
#ifdef PHP_WIN32
#include "win32/time.h"
#elif defined(NETWARE)
@@ -157,7 +157,7 @@ PHPAPI MYSQLND_DEBUG * mysqlnd_debug_init(const char * skip_functions[]);
-#else /* defined(__GNUC__) || (defined(_MSC_VER) && (_MSC_VER >= 1400)) */
+#else /* defined(__GNUC__) || defined(PHP_WIN32) */
static inline void DBG_INF_EX(MYSQLND_DEBUG * dbg_obj, const char * const msg) {}
static inline void DBG_ERR_EX(MYSQLND_DEBUG * dbg_obj, const char * const msg) {}
static inline void DBG_INF_FMT_EX(MYSQLND_DEBUG * dbg_obj, ...) {}