Merge
authorAlpar Juttner <alpar@cs.elte.hu>
Sun, 21 Sep 2008 18:26:25 +0100
changeset 271cea3cb3bbcd7
parent 270 58b0b3c0015e
parent 266 112ed801139d
child 276 b4784a66a8e6
Merge
     1.1 --- a/lemon/assert.h	Sun Sep 21 18:25:56 2008 +0100
     1.2 +++ b/lemon/assert.h	Sun Sep 21 18:26:25 2008 +0100
     1.3 @@ -107,8 +107,10 @@
     1.4  #    define LEMON_FUNCTION_NAME (__PRETTY_FUNCTION__)
     1.5  #  elif defined _MSC_VER
     1.6  #    define LEMON_FUNCTION_NAME (__FUNCSIG__)
     1.7 +#  elif __STDC_VERSION__ >= 199901L
     1.8 +#    define LEMON_FUNCTION_NAME (__func__)
     1.9  #  else
    1.10 -#    define LEMON_FUNCTION_NAME (__func__)
    1.11 +#    define LEMON_FUNCTION_NAME ("<unknown>")
    1.12  #  endif
    1.13  #endif
    1.14