Branch: Tag:

1998-07-11

1998-07-11 15:49:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added support for __func__.

Rev: src/acconfig.h:1.28

1:   /* -  * $Id: acconfig.h,v 1.27 1998/06/08 12:48:21 grubba Exp $ +  * $Id: acconfig.h,v 1.28 1998/07/11 15:49:05 grubba Exp $    */   #ifndef MACHINE_H   #define MACHINE_H
213:   /* Enable tracing of the compiler */   #undef YYDEBUG    + /* Define if your compiler has a symbol __func__ */ + #undef HAVE_WORKING___FUNC__ +  + /* Define if your compiler has a symbol __FUNCTION__ */ + #undef HAVE_WORKING___FUNCTION__ +    @BOTTOM@      /* NT stuff */
244:   #define ATTRIBUTE(X)   #endif    + #ifndef HAVE_WORKING___FUNC__ + #ifdef HAVE_WORKING___FUNCTION__ + #define __func__ __FUNCTION__ + #else /* !HAVE_WORKING___FUNCTION__ */ + #define __func__ "unknown" + #endif /* HAVE_WORKING___FUNCTION__ */ + #endif /* !HAVE_WORKING___FUNC__ */ +    /* NOTE:    * PIKE_CONCAT doesn't get defined if there isn't any way to    * concatenate symbols