Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / iconv / lib / iconvnls.h
blobf6d4866a8d8e28e5e24d467612c8dfc5bcd4010c
1 #ifndef __ICONV_ICONVNLS_H__
2 #define __ICONV_ICONVNLS_H__
4 #include <newlib.h>
6 /*
7 * Include ucs-2-internal or ucs-4-internal if Newlib is configured as
8 * "multibyte-capable".
9 * ============================================================================
11 #ifdef _MB_CAPABLE
13 * Determine size of wchar_t. If size of wchar_t is 2, UCS-2-INTERNAL is used
14 * as widechar's encoding. If size of wchar_t is 4, UCS-4-INTERNAL is used as
15 * widechar's encoding.
17 # if WCHAR_MAX > 0xFFFF
18 # ifndef _ICONV_FROM_ENCODING_UCS_4_INTERNAL
19 # define _ICONV_FROM_ENCODING_UCS_4_INTERNAL
20 # endif
21 # ifndef _ICONV_TO_ENCODING_UCS_4_INTERNAL
22 # define _ICONV_TO_ENCODING_UCS_4_INTERNAL
23 # endif
24 # elif WCHAR_MAX > 0xFF
25 # ifndef _ICONV_FROM_ENCODING_UCS_2_INTERNAL
26 # define _ICONV_FROM_ENCODING_UCS_2_INTERNAL
27 # endif
28 # ifndef _ICONV_TO_ENCODING_UCS_2_INTERNAL
29 # define _ICONV_TO_ENCODING_UCS_2_INTERNAL
30 # endif
31 # else
32 # error Do not know how to work with 1 byte widechars.
33 # endif
34 #endif /* _MB_CAPABLE */
36 #endif /* !__ICONV_ICONVNLS_H__ */