diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-08 16:25:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:00 -0500 |
commit | 4ab73d6045aacd354894fe5edf0c5cfc75784064 (patch) | |
tree | 9504f41360cc4a99d059f36d69e11380df026e2c /source4/lib/util/debug.h | |
parent | 4a61e4901ebc751fea57880424f9045e3bdf238e (diff) | |
download | samba-4ab73d6045aacd354894fe5edf0c5cfc75784064.tar.gz samba-4ab73d6045aacd354894fe5edf0c5cfc75784064.tar.bz2 samba-4ab73d6045aacd354894fe5edf0c5cfc75784064.zip |
r15000: Move some more autoconf tests out of build/m4/rewrite.m4
Guarantee availability of __FUNCTION__ in libreplace
(This used to be commit 76b1576541210f2bb306ae17e0876b254e8dcead)
Diffstat (limited to 'source4/lib/util/debug.h')
-rw-r--r-- | source4/lib/util/debug.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/lib/util/debug.h b/source4/lib/util/debug.h index 10d7d0697c..80155cdccf 100644 --- a/source4/lib/util/debug.h +++ b/source4/lib/util/debug.h @@ -23,14 +23,6 @@ * @brief Debugging macros */ -/* If we have these macros, we can add additional info to the header. */ - -#ifdef HAVE_FUNCTION_MACRO -#define FUNCTION_MACRO (__FUNCTION__) -#else -#define FUNCTION_MACRO ("") -#endif - /* the debug operations structure - contains function pointers to various debug implementations of each operation */ struct debug_ops { @@ -54,7 +46,7 @@ extern int DEBUGLEVEL; #define _DEBUG(level, body, header) do { \ if (DEBUGLVL(level)) { \ if (header) { \ - do_debug_header(level, __location__, FUNCTION_MACRO); \ + do_debug_header(level, __location__, __FUNCTION__); \ } \ do_debug body; \ } \ |