[PATCH] Adding wcs* and wmem* in libc/string.

KJK::Hyperion noog@libero.it
Sun Sep 1 13:43:00 GMT 2002


At 19.01 01/09/2002, you wrote:
>+#ifndef WCHAR_MIN
>+#define WCHAR_MIN 0
>+#endif
>+
>+#ifndef WCHAR_MAX
>+#ifdef CYGWIN
>+/* assume wchar_t = ushort and the max is the last char in UCS-2. */
>+#define WCHAR_MAX USHRT_MAX
>+#else
>+/* assume wchar_t = int and the max is the last char in UCS-4. */
>+#define WCHAR_MAX INT_MAX
>+#endif
>+#endif

Shouldn't this be something to be specified in configure.host? Technically, 
Cygwin is not the only Unix platform based on Windows NT



More information about the Newlib mailing list