X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=posix%2Finclude%2Fstddef.h;h=e08eb18ce30164cdfe164de3c3b03f02c7b1942c;hp=5ef67fa12dcef8cd513e1f8caf11a41dfdec26a7;hb=3028effd84160a2f72d542003a4dc6cfbf7485c8;hpb=385fdfdfebc279fd15ce6f58fd1e2ca37af16582 diff --git a/posix/include/stddef.h b/posix/include/stddef.h index 5ef67fa12dc..e08eb18ce30 100644 --- a/posix/include/stddef.h +++ b/posix/include/stddef.h @@ -1,4 +1,4 @@ -/* $Id: stddef.h,v 1.4 2002/10/29 04:45:19 rex 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