[PATCH] 2nd try: WCHAR_{MAX,INT} and correct error in wcscmp and wcsncmp.

J. Johnston jjohnstn@redhat.com
Wed Sep 4 11:30:00 GMT 2002

Kazuhiro Fujieda wrote:
> I made another patch imitating how FILENAME_MAX is defined in stdio.h.
> ____
>   | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
>   | HOKURIKU  Center for Information Science
> o_/ 1990      Japan Advanced Institute of Science and Technology
>   ------------------------------------------------------------------------------------------------------------------------------------------------------
>    Part 1.2Type: Plain Text (text/plain)
>    Part 1.3Type: Plain Text (text/plain)

Couple of minor problems.  

1. The check in wchar.h is incorrect.  It should be #ifdef __WCHAR_MAX__ .  I have
   corrected this.

2. According to DJ Delorie, go32 does not use newlib so I am removing
   the GO32 check.  The flag to check should have been __GO32__.

Patch checked in after modifications.  Thanks.

-- Jeff J.

More information about the Newlib mailing list