summaryrefslogtreecommitdiff
path: root/databases/mysql56-client/patches/patch-include_m__string.h
blob: 2400677424a10949e2ae02b5cf176252f4b890f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-include_m__string.h,v 1.1 2019/09/06 10:01:44 taca Exp $

* Stop useless warnings.

--- include/m_string.h.orig	2019-06-10 10:25:32.000000000 +0000
+++ include/m_string.h
@@ -43,7 +43,9 @@
 #endif
 
 #define bfill please_use_memset_rather_than_bfill()
+#ifndef bzero
 #define bzero please_use_memset_rather_than_bzero()
+#endif
 
 #if !defined(HAVE_MEMCPY) && !defined(HAVE_MEMMOVE)
 # define memcpy(d, s, n)	bcopy ((s), (d), (n))