This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]