X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=lib%2Fwchar.in.h;h=f7961679710cc09b258f8d32a2d9be08558ffbed;hp=924a3382d39f95e8841910f5e1b463fab1506339;hb=ec84142901fc685d7a08267fc0be8962e468968d;hpb=b7c6c35be5930695cc64ef2d54d6f421f8511553 diff --git a/lib/wchar.in.h b/lib/wchar.in.h index 924a3382..f7961679 100644 --- a/lib/wchar.in.h +++ b/lib/wchar.in.h @@ -1,10 +1,10 @@ /* A substitute for ISO C99 , for platforms that have issues. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -26,6 +26,14 @@ * the declaration of wcwidth(). */ +#ifdef __need_mbstate_t +/* Special invocation convention inside uClibc header files. */ + +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ + +#else +/* Normal invocation convention. */ + #ifndef _GL_WCHAR_H /* Tru64 with Desktop Toolkit C has a bug: must be included before @@ -80,3 +88,4 @@ extern int wcwidth (int /* actually wchar_t */); #endif /* _GL_WCHAR_H */ #endif /* _GL_WCHAR_H */ +#endif