diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2011-06-01 16:39:08 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2011-06-01 16:39:08 +0000 |
commit | caea8fb11207cd7fdcf076579342a7e1aaed0179 (patch) | |
tree | 8d56ef4f6ae57c41d23b391370d6af61ad1d57e5 /include/wchar.h | |
parent | 15a534634c6d1ecd548bc523f2af2ea036589025 (diff) |
Use __POSIX_VISIBLE not __POSIX_C_SOURCE to bracket the definitions
of wcscasecmp() and wcsncasecmp(). Noticed by naddy@ OK espie@
Diffstat (limited to 'include/wchar.h')
-rw-r--r-- | include/wchar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wchar.h b/include/wchar.h index af8412dae58..23030ee7a3f 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wchar.h,v 1.16 2011/05/28 15:16:46 espie Exp $ */ +/* $OpenBSD: wchar.h,v 1.17 2011/06/01 16:39:07 millert Exp $ */ /* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */ /*- @@ -145,7 +145,7 @@ long int wcstol(const wchar_t * __restrict, wchar_t ** __restrict, int base); unsigned long int wcstoul(const wchar_t * __restrict, wchar_t ** __restrict, int base); -#if __POSIX_C_SOURCE >= 200809L +#if __POSIX_VISIBLE >= 200809 int wcscasecmp(const wchar_t *, const wchar_t *); int wcsncasecmp(const wchar_t *, const wchar_t *, size_t); #endif |