summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-05-04 19:09:12 +0000
committerAndrey Hristov <andrey@php.net>2011-05-04 19:09:12 +0000
commit91bddbe26e2537de59e66a9a56a935c6d36081e2 (patch)
treeba808691bbfca54c16e9172007dbed13f7418364
parent84a309f87b5c1c1d4514644c9091f346488a09ae (diff)
downloadphp-git-91bddbe26e2537de59e66a9a56a935c6d36081e2.tar.gz
add the BLOCK_LEAVE macro for non-gcc and non-win
-rw-r--r--ext/mysqlnd/mysqlnd_debug.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.h b/ext/mysqlnd/mysqlnd_debug.h
index 98558b0eac..07988e3f9b 100644
--- a/ext/mysqlnd/mysqlnd_debug.h
+++ b/ext/mysqlnd/mysqlnd_debug.h
@@ -147,9 +147,10 @@ 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, ...) {}
static inline void DBG_ERR_FMT_EX(MYSQLND_DEBUG * dbg_obj, ...) {}
static inline void DBG_ENTER_EX(MYSQLND_DEBUG * dbg_obj, const char * const func_name) {}
-#define DBG_RETURN_EX(dbg_obj, value) return (value)
-#define DBG_VOID_RETURN_EX(dbg_obj) return
-#define DBG_BLOCK_LEAVE_EX(dbg_obj) ;
+#define DBG_BLOCK_ENTER(bname) {
+#define DBG_RETURN_EX(dbg_obj, value) return (value)
+#define DBG_VOID_RETURN_EX(dbg_obj) return
+#define DBG_BLOCK_LEAVE_EX(dbg_obj) }
#endif