diff options
author | bapt <bapt@FreeBSD.org> | 2015-11-02 23:09:21 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-11-02 23:09:21 +0000 |
commit | 388261d5106d1eedea6e9c0540aa1d5d0692c701 (patch) | |
tree | 9b21ef96a190b8d96a5c917dfbbc702623e6c633 /contrib/netbsd-tests | |
parent | d0c32ea0fd9ba84638d31119c22d09d0254e9a60 (diff) | |
download | FreeBSD-src-388261d5106d1eedea6e9c0540aa1d5d0692c701.zip FreeBSD-src-388261d5106d1eedea6e9c0540aa1d5d0692c701.tar.gz |
Push the FreeBSD changes under a specific #ifdef to easier tracking what needs
to be upstreamed.
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c b/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c index 7f2acfc..0c44316 100644 --- a/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c +++ b/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c @@ -87,7 +87,11 @@ static struct test { 0x5B, 0x01, 0x7F, 0x5D, 0x5B, 0x80, 0x07FF, 0x5D, 0x5B, 0x0800, 0xFFFF, 0x5D, 0x5B, 0x10000, 0x10FFFF, 0x5D, 0x0A }, +#ifdef __FreeBSD__ { 1, -1, -1, 1, 1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1, +#else + { 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, +#endif 1, 1, -1, -1, 1, 1, -1, -1, 1, -1 }, -1 |