1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76793

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