pkgsrc-ng/databases/mysql56-client/patches/patch-include_my__global.h
2014-11-05 12:41:07 +01:00

15 lines
471 B
C

$NetBSD: patch-include_my__global.h,v 1.2 2013/12/03 20:02:42 adam 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>"