From 16cfa5f58b297372bffda30345db472c05a2f31e Mon Sep 17 00:00:00 2001 From: millert <> Date: Mon, 19 Dec 2005 17:05:20 +0000 Subject: [PATCH] This piece was missed in the _FOO_SOURCE -> __FOO_VISIBLE change set. --- src/include/wchar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/wchar.h b/src/include/wchar.h index 161d1b2f..b1a651e5 100644 --- a/src/include/wchar.h +++ b/src/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);