From: Timo Sirainen Date: Sun, 21 Mar 2010 23:45:11 +0000 (+0200) Subject: Removed unused GNUC_FUNCTION* macros. X-Git-Tag: 2.0.beta4~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=227030181d9881683663b76da40616c2caa0ea6b;p=thirdparty%2Fdovecot%2Fcore.git Removed unused GNUC_FUNCTION* macros. --HG-- branch : HEAD --- diff --git a/src/lib/macros.h b/src/lib/macros.h index 1b90ee7446..51480fa182 100644 --- a/src/lib/macros.h +++ b/src/lib/macros.h @@ -168,16 +168,6 @@ # define COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE(_a, _b) 0 #endif -/* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with - macros, so we can refer to them as strings unconditionally. */ -#ifdef __GNUC__ -# define GNUC_FUNCTION __FUNCTION__ -# define GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__ -#else -# define GNUC_FUNCTION "" -# define GNUC_PRETTY_FUNCTION "" -#endif - #if __GNUC__ > 2 # define unlikely(expr) __builtin_expect(!!(expr), 0) # define likely(expr) __builtin_expect(!!(expr), 1)