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