diff options
author | Michael Widenius <monty@askmonty.org> | 2012-03-30 16:00:10 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-03-30 16:00:10 +0300 |
commit | 3dc35ee493711f084efa682d2c8a3ba6780f6297 (patch) | |
tree | 3278fbdd5321c468a3a59b455a49c87c8f9b1068 /cmd-line-utils | |
parent | 474ee1eedb9348772d73c24400957d3af01b0f56 (diff) | |
download | mariadb-git-3dc35ee493711f084efa682d2c8a3ba6780f6297.tar.gz |
Compatibility fixes by U Orsini
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/libedit/chartype.h | 2 | ||||
-rw-r--r-- | cmd-line-utils/libedit/np/unvis.c | 2 | ||||
-rw-r--r-- | cmd-line-utils/libedit/np/vis.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cmd-line-utils/libedit/chartype.h b/cmd-line-utils/libedit/chartype.h index 40012afb47d..576abe13ad5 100644 --- a/cmd-line-utils/libedit/chartype.h +++ b/cmd-line-utils/libedit/chartype.h @@ -49,7 +49,7 @@ TODO : Verify if FreeBSD & AIX stores ISO 10646 in wchar_t. */ #if !defined(__NetBSD__) && !defined(__sun) \ && !(defined(__APPLE__) && defined(__MACH__)) \ - && !defined(__FreeBSD__) && !defined(_AIX) + && !defined(__FreeBSD__) && !defined(_AIX) && !defined(__OpenBSD__) #ifndef __STDC_ISO_10646__ /* In many places it is assumed that the first 127 code points are ASCII * compatible, so ensure wchar_t indeed does ISO 10646 and not some other diff --git a/cmd-line-utils/libedit/np/unvis.c b/cmd-line-utils/libedit/np/unvis.c index 812d280b2d8..a911720ad35 100644 --- a/cmd-line-utils/libedit/np/unvis.c +++ b/cmd-line-utils/libedit/np/unvis.c @@ -64,7 +64,7 @@ static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93"; #include "np/vis.h" #ifdef __weak_alias -__weak_alias(strnunvisx,_strnunvisx) +__weak_alias(strnunvisx,_strnunvisx); #endif #if !HAVE_VIS diff --git a/cmd-line-utils/libedit/np/vis.c b/cmd-line-utils/libedit/np/vis.c index d7cc37b4f47..884a7894332 100644 --- a/cmd-line-utils/libedit/np/vis.c +++ b/cmd-line-utils/libedit/np/vis.c @@ -77,7 +77,7 @@ #include <stdlib.h> #ifdef __weak_alias -__weak_alias(strvisx,_strvisx) +__weak_alias(strvisx,_strvisx); #endif #if !HAVE_VIS || !HAVE_SVIS |