mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
add the BLOCK_LEAVE macro for non-gcc and non-win
This commit is contained in:
parent
84a309f87b
commit
91bddbe26e
1 changed files with 4 additions and 3 deletions
|
@ -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_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) ;
|
||||
#define DBG_BLOCK_LEAVE_EX(dbg_obj) }
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue