Commit 4ccae0d0 authored by Pekka Pessi's avatar Pekka Pessi

Defining __func__ in stun/stunc.c for the benefit of older C compilers.

darcs-hash:20060426094141-65a35-27979fe2f9f70eb6d0b689802a78995ecb6ac724.gz
parent 2c8cadb8
......@@ -52,6 +52,12 @@ enum {
do_life_check = 8,
};
#if HAVE_FUNC
#elif HAVE_FUNCTION
#define __func__ __FUNCTION__
#else
static char const __func__[] = "stun_dns";
#endif
#ifndef SU_DEBUG
#define SU_DEBUG 0
......
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