diff -r 58b0b3c0015e -r cea3cb3bbcd7 lemon/assert.h --- a/lemon/assert.h Sun Sep 21 18:25:56 2008 +0100 +++ b/lemon/assert.h Sun Sep 21 18:26:25 2008 +0100 @@ -107,8 +107,10 @@ # define LEMON_FUNCTION_NAME (__PRETTY_FUNCTION__) # elif defined _MSC_VER # define LEMON_FUNCTION_NAME (__FUNCSIG__) +# elif __STDC_VERSION__ >= 199901L +# define LEMON_FUNCTION_NAME (__func__) # else -# define LEMON_FUNCTION_NAME (__func__) +# define LEMON_FUNCTION_NAME ("") # endif #endif