Add mbstate_t and wint_t.

This commit is contained in:
David E. O'Brien 2001-05-18 05:50:26 +00:00
parent 5de20e57b2
commit ada3b4c366

View File

@ -40,6 +40,11 @@
#include <machine/ansi.h>
#ifdef _BSD_MBSTATE_T_
typedef _BSD_MBSTATE_T_ mbstate_t;
#undef _BSD_MBSTATE_T_
#endif
typedef _BSD_PTRDIFF_T_ ptrdiff_t;
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
@ -59,6 +64,11 @@ typedef _BSD_WCHAR_T_ wchar_t;
#undef _BSD_WCHAR_T_
#endif
#ifdef _BSD_WINT_T_
typedef _BSD_WINT_T_ wint_t;
#undef _BSD_WINT_T_
#endif
#ifndef NULL
#define NULL 0
#endif