Changeset 2562 for zzuf/trunk/src


Ignore:
Timestamp:
Jul 18, 2008, 11:28:02 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Better check for the func keyword that does not rely on assumptions about the compiler version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/lib-load.h

    r1701 r2562  
    1616 *  lib-load.h: preload library functions
    1717 */
    18 
    19 /* The __func__ macro to get the current function name */
    20 #if __STDC_VERSION__ < 199901L
    21 #   if __GNUC__ >= 2
    22 #       define __func__ __FUNCTION__
    23 #   else
    24 #       define __func__ "<?>"
    25 #   endif
    26 #endif
    2718
    2819/* Symbol loading stuff */
Note: See TracChangeset for help on using the changeset viewer.