2
0

stddef.h 471 B

123456789101112131415161718192021222324
  1. #ifndef _STDDEF_H
  2. #define _STDDEF_H
  3. #include <stdint.h>
  4. #define NULL 0
  5. #ifndef __PTRDIFF_TYPE__
  6. #define __PTRDIFF_TYPE__ long int
  7. #endif
  8. typedef __PTRDIFF_TYPE__ ptrdiff_t;
  9. #ifndef __cplusplus
  10. typedef int32_t wchar_t;
  11. #endif /* #ifndef __cplusplus */
  12. typedef uint32_t wint_t;
  13. typedef long unsigned int size_t;
  14. typedef struct { long long __ll; long double __ld; } max_align_t;
  15. #define offsetof(type, member) __builtin_offsetof(type, member)
  16. #endif /* _STDDEF_H */