X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=posix%2Finclude%2Fstddef.h;h=e08eb18ce30164cdfe164de3c3b03f02c7b1942c;hp=a869433a972c2a1b9a0474c42f1a910a5a92e2c8;hb=3028effd84160a2f72d542003a4dc6cfbf7485c8;hpb=19ad3d7a30a3b0a822044cbdd5c3d264396cecdd diff --git a/posix/include/stddef.h b/posix/include/stddef.h index a869433a972..e08eb18ce30 100644 --- a/posix/include/stddef.h +++ b/posix/include/stddef.h @@ -1,4 +1,4 @@ -/* $Id: stddef.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $ +/* $Id: stddef.h,v 1.5 2003/01/05 18:27:19 robd Exp $ */ /* * stddef.h @@ -32,7 +32,20 @@ /* TYPES */ typedef signed long int ptrdiff_t; -typedef unsigned short int wchar_t; + +#ifndef _WCHAR_T_ +#define _WCHAR_T_ +#define _WCHAR_T +#define _WCHAR_T_DEFINED +#ifndef __WCHAR_TYPE__ +#define __WCHAR_TYPE__ short unsigned int +#endif +#ifndef __cplusplus +typedef __WCHAR_TYPE__ wchar_t; +#endif /* C++ */ +#endif /* _WCHAR_T_ */ + +//typedef unsigned short int wchar_t; /* CONSTANTS */ #ifndef NULL