1
0
Fork 0
Browse Source

use AfxTrace way of TRACE for release build

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@350 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 16 years ago
parent
commit
dd599c148a
  1. 3
      utils.h

3
utils.h

@ -27,10 +27,11 @@ static inline int TRACE(const char *fmt, ...)
#else /* DEBUG */
# ifdef ZEND_WIN32
static inline int TRACE(const char *fmt, ...)
static inline int TRACE_DUMMY(const char *fmt, ...)
{
return 0;
}
# define TRACE 1 ? 0 : TRACE_DUMMY
# else
# define TRACE(fmt, ...) do { } while (0)
# endif /* ZEND_WIN32 */

Loading…
Cancel
Save