summaryrefslogtreecommitdiff
path: root/databases/mysql56-client/patches/patch-include_my__global.h
blob: c771256c5bfac873533768ac7f601c27f7442371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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>"