[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Add wchar.h to MiNTlib



Although we don't have wide character support in MiNTlib it makes
compiling packages a whole lot simpler if we include the attached
minimalist version.

Alan.
Index: include/MISCFILES
===================================================================
RCS file: /mint/mintlib/include/MISCFILES,v
retrieving revision 1.12
diff -u -r1.12 MISCFILES
--- include/MISCFILES	14 Mar 2002 20:44:50 -0000	1.12
+++ include/MISCFILES	26 Feb 2008 13:06:12 -0000
@@ -92,4 +93,5 @@
 	values.h \
 	vt52.h \
 	wait.h \
+	wchar.h \
 	wordexp.h
--- /dev/null	2008-02-26 09:02:35.869001306 +0000
+++ include/wchar.h	2008-01-29 21:34:08.273125659 +0000
@@ -0,0 +1,11 @@
+#ifndef _WCHAR_H
+#define _WCHAR_H
+
+/* Get size_t, wchar_t, wint_t and NULL from <stddef.h>.  */
+#define __need_size_t
+#define __need_wchar_t
+#define __need_NULL
+#define __need_wint_t
+#include <stddef.h>
+
+#endif /* _WCHAR_H */