Module: sip-router Branch: master Commit: e081c2880b46174ad836ab1f56e3062bb17b4332 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e081c2880b46174ad836ab1f56e3062bb17b4332
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: Fri May 17 00:46:42 2013 +0200 core: fixed printing function name in log message - based on http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html --- dprint.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dprint.h b/dprint.h index 4a9fdbf..285c9f1 100644 --- a/dprint.h +++ b/dprint.h @@ -46,7 +46,7 @@ /* C >= 99 has __func__, older gcc versions have __FUNCTION__ */ #if __STDC_VERSION__ < 199901L -# if __GNUC__ >= 2 && defined __FUNCTION__ +# if __GNUC__ >= 2 # define _FUNC_NAME_ __FUNCTION__ # else # define _FUNC_NAME_ "" _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
