From abbd8902334e8c6409384593b4a2c81f939b47b4 Mon Sep 17 00:00:00 2001 From: Mike Barcroft 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/vis.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/vis.h') diff --git a/include/vis.h b/include/vis.h index f630db7290b9..d4134dbee474 100644 --- a/include/vis.h +++ b/include/vis.h @@ -37,11 +37,11 @@ #ifndef _VIS_H_ #define _VIS_H_ -#include +#include -#ifdef _BSD_SIZE_T_ -typedef _BSD_SIZE_T_ size_t; -#undef _BSD_SIZE_T_ +#ifndef _SIZE_T_DECLARED +typedef __size_t size_t; +#define _SIZE_T_DECLARED #endif /* -- cgit v1.3