Changeset 981:ee8ea5303489 in freeDiameter for include/freeDiameter/libfdproto.h
- Timestamp:
- Mar 16, 2013, 3:43:46 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdproto.h
r972 r981 243 243 #endif /* __PRETTY_FUNCTION__ */ 244 244 245 #ifdef DEBUG 245 246 /* A version of __FILE__ without the full path */ 246 247 static char * file_bname = NULL; 247 248 #define __STRIPPED_FILE__ (file_bname ?: (file_bname = basename((char *)__FILE__))) 248 249 249 250 250 /* Boolean for tracing at a certain level */ 251 #ifdef DEBUG252 251 #define TRACE_BOOL(_level_) ( ((_level_) <= fd_g_debug_lvl) \ 253 252 || (fd_debug_one_function && !strcmp(fd_debug_one_function, __PRETTY_FUNCTION__)) \
Note: See TracChangeset
for help on using the changeset viewer.