version 1.7, 2005/12/19 17:05:20 |
version 1.8, 2006/01/06 18:53:04 |
|
|
#define _WCHAR_H_ |
#define _WCHAR_H_ |
|
|
#include <sys/cdefs.h> |
#include <sys/cdefs.h> |
#include <machine/ansi.h> |
#include <sys/_types.h> |
|
|
#ifndef NULL |
#ifndef NULL |
#ifdef __GNUG__ |
#ifdef __GNUG__ |
|
|
|
|
#include <stdio.h> /* for FILE* */ |
#include <stdio.h> /* for FILE* */ |
|
|
#ifdef _BSD_WCHAR_T_ |
#if !defined(_WCHAR_T_DEFINED_) && !defined(__cplusplus) |
# ifndef __cplusplus |
#define _WCHAR_T_DEFINED_ |
typedef _BSD_WCHAR_T_ wchar_t; |
typedef __wchar_t wchar_t; |
# endif |
|
#undef _BSD_WCHAR_T_ |
|
#endif |
#endif |
|
|
#ifdef _BSD_MBSTATE_T_ |
#ifndef _MBSTATE_T_DEFINED_ |
typedef _BSD_MBSTATE_T_ mbstate_t; |
#define _MBSTATE_T_DEFINED_ |
#undef _BSD_MBSTATE_T_ |
typedef __mbstate_t mbstate_t; |
#endif |
#endif |
|
|
#ifdef _BSD_WINT_T_ |
#ifndef _WINT_T_DEFINED_ |
typedef _BSD_WINT_T_ wint_t; |
#define _WINT_T_DEFINED_ |
#undef _BSD_WINT_T_ |
typedef __wint_t wint_t; |
#endif |
#endif |
|
|
#ifdef _BSD_SIZE_T_ |
#ifndef _SIZE_T_DEFINED_ |
typedef _BSD_SIZE_T_ size_t; |
#define _SIZE_T_DEFINED_ |
#undef _BSD_SIZE_T_ |
typedef __size_t size_t; |
#endif |
#endif |
|
|
#ifndef WEOF |
#ifndef WEOF |