From 9e6f796b0d2083dcc48c062853660f96db0a3c8d Mon Sep 17 00:00:00 2001 From: mike Date: Wed, 21 Aug 2002 16:20:02 +0000 Subject: o Merge and into a new header called . o will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien --- include/inttypes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/inttypes.h') diff --git a/include/inttypes.h b/include/inttypes.h index d2b86dd..3fe6fcc 100644 --- a/include/inttypes.h +++ b/include/inttypes.h @@ -33,9 +33,9 @@ #include #ifndef __cplusplus -#ifdef _BSD_WCHAR_T_ -typedef _BSD_WCHAR_T_ wchar_t; -#undef _BSD_WCHAR_T_ +#ifndef _WCHAR_T_DECLARED +typedef __wchar_t wchar_t; +#define _WCHAR_T_DECLARED #endif #endif -- cgit v1.1