From: Matthias Braun Date: Tue, 4 Dec 2012 01:13:52 +0000 (+0100) Subject: we always compile with C99 support now X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b07b1ff301a0e24921468bd8da04bc0a36a9d721;p=libfirm we always compile with C99 support now --- diff --git a/ir/common/debug.h b/ir/common/debug.h index 747d8b20f..96f988e04 100644 --- a/ir/common/debug.h +++ b/ir/common/debug.h @@ -93,21 +93,7 @@ void firm_dbg_set_file(firm_dbg_module_t *module, FILE *file); #define _DBG_MAIN(func,args) \ _firm_dbg_print_msg(__FILE__, __LINE__, func, _firm_dbg_make_msg args) -/* If we have C99 use the __func__ variable for calling functions name. */ -#if defined(__STD_VERSION__) && __STD_VERSION >= 199901L #define _DBG(args) _DBG_MAIN(__func__, args) -#else - -/* Else, check for gcc and use the proprietary __FUNCTION__ macro. */ -#ifdef __GNUC__ -#define _DBG(args) _DBG_MAIN(__FUNCTION__, args) -#else - -/* Else go without the name of the calling function. */ -#define _DBG(args) _DBG_MAIN("", args) -#endif /* __GNUC__ */ -#endif /* __STD_VERSION__ ... */ - #define _DB(args) _firm_dbg_print args /**