For old gccs check if __FUNCTION__ is defined before enabling logging of the function name. This fixes compilation with gcc 2.95.
@@ -48,7 +48,7 @@
/* C >= 99 has __func__, older gcc versions have __FUNCTION__ */
#if __STDC_VERSION__ < 199901L
-# if __GNUC__ >= 2
+# if __GNUC__ >= 2 && defined __FUNCTION__
# define _FUNC_NAME_ __FUNCTION__
# else
# define _FUNC_NAME_ ""