From dc8971488e7c174ab4084cbdb0a8f12c39b738d7 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 13 Jun 2002 10:20:48 +0000 Subject: * include/_mingw.h: Increment version to 2.0. * Makefile.in: Ditto. Merge in mingwex branch. --- winsup/mingw/mingwex/fwide.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 winsup/mingw/mingwex/fwide.c (limited to 'winsup/mingw/mingwex/fwide.c') diff --git a/winsup/mingw/mingwex/fwide.c b/winsup/mingw/mingwex/fwide.c new file mode 100644 index 000000000..fc8bf5bf5 --- /dev/null +++ b/winsup/mingw/mingwex/fwide.c @@ -0,0 +1,25 @@ +/* This source code was extracted from the Q8 package created and placed + in the PUBLIC DOMAIN by Doug Gwyn + last edit: 1999/11/05 gwyn@arl.mil + + Implements subclause 7.24 of ISO/IEC 9899:1999 (E). + + This is a minimal implementation for environments where + internationalization is not considered important. + + It supports an encoding where all char codes are mapped + to the *same* code values within a wchar_t or wint_t, + so long as no other wchar_t codes are used by the program. + +*/ + +#include + +int +fwide(stream, mode) + FILE *stream; + int mode; + { + return -1; /* limited to byte orientation */ + } + -- cgit v1.2.3