diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-07 03:19:35 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-07 03:19:35 +0000 |
commit | 03bab2861e1f601aac06ada43277c26509c8886b (patch) | |
tree | 2291d1acde7cbd9161a5debcc6c319bf3ce4b213 /defines.h | |
parent | db41d2390c0f3f47541330b79e45566e3f743535 (diff) |
- (bal) Reverse logic, use __func__ first since it's C99
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.89 2002/04/25 17:56:07 stevesk Exp $ */ +/* $Id: defines.h,v 1.90 2002/06/07 03:19:36 mouring Exp $ */ /* Constants */ @@ -460,10 +460,10 @@ struct winsize { # define OPENSSL_free(x) Free(x) #endif -#if defined(HAVE___func__) -# define __FUNCTION__ __func__ -#elif !defined(HAVE___FUNCTION__) -# define __FUNCTION__ "" +#if !defined(HAVE___func__) && defined(HAVE___FUNCTION__) +# define __func__ __FUNCTION__ +#elif !defined(HAVE___func__) +# define __func__ "" #endif /* |