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
3e46e95ac1
commit
9bf9b88f20
1 changed files with 4 additions and 3 deletions
|
@ -136,9 +136,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 /* defined(__GNUC__) || (defined(_MSC_VER) && (_MSC_VER >= 1400)) */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue