OSDN Git Service

2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
authorjjohnstn <jjohnstn>
Wed, 4 Sep 2002 18:17:55 +0000 (18:17 +0000)
committerjjohnstn <jjohnstn>
Wed, 4 Sep 2002 18:17:55 +0000 (18:17 +0000)
        * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
        * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
        __WCHAR_MAX__ or 0x7fffffffu.
        * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
        * libc/string/wcsncmp.c: Ditto.

newlib/libc/include/sys/config.h

index fd5e19b..9a4c3cb 100644 (file)
 
 #ifndef __WCHAR_MAX__ 
 #if __INT_MAX__ == 32767 || defined(__CYGWIN__) || \
-    defined (_WIN32) || defined(GO32)
+    defined (_WIN32)
 #define __WCHAR_MAX__ 0xffffu
 #endif
 #endif