mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
* libc/include/wchar.h (WCHAR_MAX): Only define if not already defined.
This commit is contained in:
parent
6f28fb6195
commit
c210a6ea06
@ -1,3 +1,8 @@
|
||||
2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
||||
|
||||
* libc/include/wchar.h (WCHAR_MAX): Only define if not already
|
||||
defined.
|
||||
|
||||
2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
||||
|
||||
* libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
|
||||
|
@ -23,11 +23,13 @@
|
||||
#define WCHAR_MIN 0
|
||||
#endif
|
||||
|
||||
#ifndef WCHAR_MAX
|
||||
#ifdef __WCHAR_MAX__
|
||||
#define WCHAR_MAX __WCHAR_MAX__
|
||||
#else
|
||||
#define WCHAR_MAX 0x7fffffffu
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MBSTATE_T
|
||||
#define MBSTATE_T
|
||||
|
Loading…
x
Reference in New Issue
Block a user