diff -r 96f81c791f0c -r 8b703d177341 lemon/assert.h --- a/lemon/assert.h Sun Apr 13 13:22:52 2008 +0200 +++ b/lemon/assert.h Sun Apr 13 20:15:45 2008 +0200 @@ -103,7 +103,13 @@ #endif #ifndef LEMON_FUNCTION_NAME -# define LEMON_FUNCTION_NAME (__PRETTY_FUNCTION__) +# if defined __GNUC__ +# define LEMON_FUNCTION_NAME (__PRETTY_FUNCTION__) +# elif defined _MSC_VER +# define LEMON_FUNCTION_NAME (__FUNCSIG__) +# else +# define LEMON_FUNCTION_NAME (__func__) +# endif #endif #ifdef DOXYGEN