diff options
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/sys/config.h | 9 | ||||
-rw-r--r-- | newlib/libc/include/sys/reent.h | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index 33e292735..b068e3b77 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -179,6 +179,7 @@ #if defined(__CYGWIN__) #include <cygwin/config.h> #define __LINUX_ERRNO_EXTENSIONS__ 1 +#define _MB_EXTENDED_CHARSETS_ALL 1 #endif #if defined(__rtems__) @@ -211,4 +212,12 @@ #endif #endif +/* If _MB_EXTENDED_CHARSETS_ALL is set, we want all of the extended + charsets. The extended charsets add a few functions and a couple + of tables of a few K each. */ +#ifdef _MB_EXTENDED_CHARSETS_ALL +#define _MB_EXTENDED_CHARSETS_ISO 1 +#define _MB_EXTENDED_CHARSETS_WINDOWS 1 +#endif + #endif /* __SYS_CONFIG_H__ */ diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h index 55fb9ff2a..60eb208a7 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -371,8 +371,8 @@ struct _reent int __sdidinit; /* 1 means stdio has been init'd */ - int _current_category; /* used by setlocale */ - _CONST char *_current_locale; + int _current_category; /* unused */ + _CONST char *_current_locale; /* unused */ struct _mprec *_mp; |