summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-12-19 17:05:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-12-19 17:05:21 +0000
commitac2c0c874e7b11e15575c4d8f792df68159b320b (patch)
treef29da30d10f5404be40cdb8fd065f9edb69ec922 /include/wchar.h
parent286e9b17f840616cdbb71239f32cdd1924042d33 (diff)
This piece was missed in the _FOO_SOURCE -> __FOO_VISIBLE change set.
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 161d1b2f5c1..b1a651e590b 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wchar.h,v 1.6 2005/07/01 08:59:27 espie Exp $ */
+/* $OpenBSD: wchar.h,v 1.7 2005/12/19 17:05:20 millert Exp $ */
/* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */
/*-
@@ -155,8 +155,8 @@ 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 (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || \
- defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) > 199901L
+#if (defined(__GNUC__) && __GNUC__ >= 2 && !defined(__STRICT_ANSI__)) || \
+ __ISO_C_VISIBLE >= 1999
/* LONGLONG */
long long int wcstoll(const wchar_t * __restrict,
wchar_t ** __restrict, int base);