mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +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>
|
2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
||||||
|
|
||||||
* libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
|
* libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
|
||||||
|
@ -23,11 +23,13 @@
|
|||||||
#define WCHAR_MIN 0
|
#define WCHAR_MIN 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WCHAR_MAX
|
||||||
#ifdef __WCHAR_MAX__
|
#ifdef __WCHAR_MAX__
|
||||||
#define WCHAR_MAX __WCHAR_MAX__
|
#define WCHAR_MAX __WCHAR_MAX__
|
||||||
#else
|
#else
|
||||||
#define WCHAR_MAX 0x7fffffffu
|
#define WCHAR_MAX 0x7fffffffu
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MBSTATE_T
|
#ifndef MBSTATE_T
|
||||||
#define MBSTATE_T
|
#define MBSTATE_T
|
||||||
|
Loading…
x
Reference in New Issue
Block a user