This is the mail archive of the
cygwin-patches@sources.redhat.com
mailing list for the Cygwin project.
[Fwd: mingw/include/stddef.h]
- To: Earnie Boyd <mingw-dvlpr at lists dot sourceforge dot net>
- Subject: [Fwd: mingw/include/stddef.h]
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 23 Feb 2001 10:07:38 -0500
- CC: cygwin-patches at cygwin dot com
Danny,
Can you answer Corinna's question?
Earnie.
-------- Original Message --------
From: Corinna Vinschen <cygwin-patches@cygwin.com>
Subject: mingw/include/stddef.h
To: cygpatch <cygwin-patches@cygwin.com>
Hi,
the current `stddef.h' file contains surprisingly the following:
...
#ifndef __WCHAR_TYPE__
#ifdef __BEOS__
#define __WCHAR_TYPE__ unsigned char
#else
#define __WCHAR_TYPE__ int
#endif
#endif
...
The surprise is the definition of __WCHAR_TYPE__ as `int' in case
of !BEOS.
Wouldn't it have more sense to define it as `unsigned short'???
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com