summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/config.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-09-04 18:17:55 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-09-04 18:17:55 +0000
commitca3a1a6b670e5026c3a1d7435d78e90eb9212616 (patch)
tree643d40a6bf25ece960725502cfa68243b1385655 /newlib/libc/include/sys/config.h
parentefa077ce22ce17d6bfd6045e337121b0ff01935a (diff)
downloadcygnal-ca3a1a6b670e5026c3a1d7435d78e90eb9212616.tar.gz
cygnal-ca3a1a6b670e5026c3a1d7435d78e90eb9212616.tar.bz2
cygnal-ca3a1a6b670e5026c3a1d7435d78e90eb9212616.zip
2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
* 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.
Diffstat (limited to 'newlib/libc/include/sys/config.h')
-rw-r--r--newlib/libc/include/sys/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index fd5e19bfa..9a4c3cb7b 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -172,7 +172,7 @@
#ifndef __WCHAR_MAX__
#if __INT_MAX__ == 32767 || defined(__CYGWIN__) || \
- defined (_WIN32) || defined(GO32)
+ defined (_WIN32)
#define __WCHAR_MAX__ 0xffffu
#endif
#endif