# HG changeset patch # User Alpar Juttner # Date 2008-09-21 19:26:25 # Node ID cea3cb3bbcd76d475c4b32ff4cde24f34198d3fa # Parent 58b0b3c0015e3551dbbaa60cbeb5ac0456941d5a # Parent 112ed801139d58d4703367360350a065166c8c33 Merge diff --git a/lemon/assert.h b/lemon/assert.h --- a/lemon/assert.h +++ b/lemon/assert.h @@ -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