diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-03-22 18:19:53 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-03-22 18:19:53 +0000 |
commit | 4846f4ab6989c20db4375440948266b742fa7a1f (patch) | |
tree | b5f522491402189dece19db89a0c43878fe0fa0f /defines.h | |
parent | 7e147607f56648e19a856fd1a1f905635e1f359e (diff) |
- (stevesk) configure and cpp __FUNCTION__ gymnastics to handle nielsisms
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.81 2002/03/08 03:11:08 mouring Exp $ */ +/* $Id: defines.h,v 1.82 2002/03/22 18:19:54 stevesk Exp $ */ /* Necessary headers */ @@ -490,6 +490,12 @@ struct winsize { # define OPENSSL_free(x) Free(x) #endif +#if defined(HAVE___func__) +# define __FUNCTION__ __func__ +#elif !defined(HAVE___FUNCTION__) +# define __FUNCTION__ "" +#endif + /* * Define this to use pipes instead of socketpairs for communicating with the * client program. Socketpairs do not seem to work on all systems. |