From 81d3f8e8a1fe075b99c51fee895da94536f4c972 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 26 Apr 2006 14:20:46 +0000 Subject: r15280: - remove the 2nd check for __FUNCTION__ - fallback to __func__ if __FUNCTION__ isn't there metze (This used to be commit 6c5a2b08ca2f0db6b39808740a06ed165e8b9ade) --- source4/lib/replace/replace.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib/replace/replace.h') diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h index 77f42acc97..d0575f4b60 100644 --- a/source4/lib/replace/replace.h +++ b/source4/lib/replace/replace.h @@ -212,8 +212,12 @@ typedef int bool; #endif #ifndef HAVE_FUNCTION_MACRO +#ifdef HAVE_func_MACRO +#define __FUNCTION__ __func__ +#else #define __FUNCTION__ ("") #endif +#endif #ifdef HAVE_SYS_PARAM_H #include -- cgit