summaryrefslogtreecommitdiff
path: root/databases/mariadb104-client/patches/patch-storage_connect_tabvct.cpp
blob: 65fd0636767b84081c043c91dcd2ae7265e793b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-storage_connect_tabvct.cpp,v 1.1 2021/05/08 19:47:16 jdolecek Exp $

Don't redefine strerror.

--- storage/connect/tabvct.cpp.orig	2015-02-25 15:40:55.000000000 +0000
+++ storage/connect/tabvct.cpp
@@ -71,7 +71,7 @@
 #include "tabvct.h"
 #include "valblk.h"
 
-#if defined(UNIX)
+#if defined(UNIX) && !defined(__sun)
 //add dummy strerror   (NGC)
 char *strerror(int num);
 #endif   // UNIX