gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
Use __func__ only if the compiler supports it (ticket #148).
0 1 0
default
1 file changed with 3 insertions and 1 deletions:
↑ Collapse diff ↑
Ignore white space 4 line context
... ...
@@ -108,6 +108,8 @@
108 108
#  elif defined _MSC_VER
109 109
#    define LEMON_FUNCTION_NAME (__FUNCSIG__)
110
#  elif __STDC_VERSION__ >= 199901L
111
#    define LEMON_FUNCTION_NAME (__func__)
110 112
#  else
111
#    define LEMON_FUNCTION_NAME (__func__)
113
#    define LEMON_FUNCTION_NAME ("<unknown>")
112 114
#  endif
113 115
#endif
0 comments (0 inline)