Skip to content
Snippets Groups Projects
Commit 611d595a authored by Tobias Henle's avatar Tobias Henle
Browse files

Added __FUNCTION__ in DBG and TRACE for gcc v3+.

(Old svn revision: 695)
parent c5994beb
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,8 @@
#if defined(__NetBSD__) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
#define __DBG_FUNC__ __func__
#elif defined(__GNUC__) && __GNUC__ >= 3
#define __DBG_FUNC__ __FUNCTION__
#else
#define __DBG_FUNC__ "??"
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment