cdefs.h (872B)
1 #ifndef _CDEF_H 2 #define _CDEF_H 3 typedef __builtin_va_list __va_list; 4 typedef int __wchar_t; 5 #endif 6 7 #ifdef _NEED_SIZET 8 #ifndef _SIZET 9 typedef unsigned long size_t; 10 #define _SIZET 11 #endif 12 #undef _NEED_SIZET 13 #endif 14 15 #ifdef _NEED_PTRDIFFT 16 #ifndef _PTRDIFFT 17 typedef long ptrdiff_t; 18 #define _PTRDIFFT 19 #endif 20 #undef _NEED_PTRDIFFT 21 #endif 22 23 #ifdef _NEED_NULL 24 #ifndef NULL 25 #define NULL ((void *) 0) 26 #endif 27 #undef _NEED_NULL 28 #endif 29 30 #ifdef _NEED_WCHART 31 #ifndef _WCHART 32 typedef __wchar_t wchar_t; 33 #define _WCHART 34 #endif 35 #undef _NEED_WCHART 36 #endif 37 38 #ifdef _NEED_WEOF 39 #ifndef WEOF 40 #define WEOF 0xFFFFFFFFU 41 #endif 42 #undef _NEED_WEOF 43 #endif 44 45 #ifdef _NEED_WINT 46 #ifndef _WINT 47 typedef unsigned wint_t; 48 #define _WINT 49 #endif 50 #undef _NEED_WINT 51 #endif 52 53 #ifdef _NEED_WCHARLIM 54 #ifndef _WCHARLIM 55 #define WCHAR_MAX 0x7FFFFFFF 56 #define WCHAR_MIN 0 57 #define _WCHARLIM 58 #endif 59 #undef _NEED_WCHARLIM 60 #endif