Files
RedBear-OS/include/stddef.h
T
Robin Randhawa 9443eef518 Add wint_t definition to stddef.h
Without this the relibc tests would break. With this the relibc tests
pass and formerly breaking builds (such as uutils -> onig_sys) pass.
2019-03-03 21:50:13 +00:00

17 lines
284 B
C

#ifndef _STDDEF_H
#define _STDDEF_H
#include <stdint.h>
#define NULL 0
typedef signed long long ptrdiff_t;
typedef int32_t wchar_t;
typedef int32_t wint_t;
typedef unsigned long long size_t;
#define offsetof(type, member) __builtin_offsetof(type, member)
#endif /* _STDDEF_H */