pkgsrc/databases/mysql-cluster/patches/patch-include_my__global.h

15 lines
478 B
C
Raw Normal View History

$NetBSD: patch-include_my__global.h,v 1.1.1.1 2014/12/01 05:58:03 jnemeth Exp $
--- include/my_global.h.orig 2013-04-28 14:06:29.000000000 +0000
+++ include/my_global.h
@@ -1119,7 +1119,8 @@ typedef char my_bool; /* Small bool */
/* Provide __func__ macro definition for platforms that miss it. */
#if __STDC_VERSION__ < 199901L
-# if __GNUC__ >= 2
+# if __GNUC__ >= 4
+# elif __GNUC__ >= 2
# define __func__ __FUNCTION__
# else
# define __func__ "<unknown>"