- (stevesk) configure and cpp __FUNCTION__ gymnastics to handle nielsisms
diff --git a/defines.h b/defines.h
index ac2d966..e4e4136 100644
--- a/defines.h
+++ b/defines.h
@@ -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 @@
# 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.