COIN-OR::LEMON - Graph Library

Changeset 266:112ed801139d in lemon


Ignore:
Timestamp:
09/21/08 15:46:01 (16 years ago)
Author:
Akos Ladanyi <ladanyi@…>
Branch:
default
Children:
271:cea3cb3bbcd7, 274:2a33883915bb
Phase:
public
Message:

Use func only if the compiler supports it (ticket #148).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/assert.h

    r218 r266  
    108108#  elif defined _MSC_VER
    109109#    define LEMON_FUNCTION_NAME (__FUNCSIG__)
     110#  elif __STDC_VERSION__ >= 199901L
     111#    define LEMON_FUNCTION_NAME (__func__)
    110112#  else
    111 #    define LEMON_FUNCTION_NAME (__func__)
     113#    define LEMON_FUNCTION_NAME ("<unknown>")
    112114#  endif
    113115#endif
Note: See TracChangeset for help on using the changeset viewer.