Commit eb48f80d authored by Pekka Pessi's avatar Pekka Pessi

Fixed __func__ usage.

VC98++ does not have __func__. Use innocent value instead.

darcs-hash:20051031160553-65a35-cd8be7c9070e3fbd89051ea49b321c2720259503.gz
parent 3be26eb9
......@@ -515,9 +515,11 @@ struct nua_s {
#elif HAVE_FUNCTION
#define enter (void)SU_DEBUG_9(("nua: %s: entering\n", __FUNCTION__))
#define nh_enter (void)SU_DEBUG_9(("nua %s(%p): entering\n", __FUNCTION__, nh))
#define __func__ __FUNCTION__
#else
#define enter ((void)0)
#define nh_enter ((void)0)
#define __func__ "nua"
#endif
/*# Increase reference count by one.
......
......@@ -58,6 +58,13 @@
typedef unsigned longlong ull;
#if HAVE_FUNC
#elif HAVE_FUNCTION
#define __func__ __FUNCTION__
#else
static char const __func__[] = "soa";
#endif
/* ======================================================================== */
/* Internal prototypes */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment