1b3e94a20d
From release 0.1.0 pre-patched archive. This includes all Red Bear modifications previously maintained as patches in local/patches/relibc/.
19 lines
366 B
C
19 lines
366 B
C
#ifndef _STDDEF_H
|
|
#define _STDDEF_H
|
|
#include <stdint.h>
|
|
|
|
#define NULL 0
|
|
|
|
#ifndef __PTRDIFF_TYPE__
|
|
#define __PTRDIFF_TYPE__ long int
|
|
#endif
|
|
typedef __PTRDIFF_TYPE__ ptrdiff_t;
|
|
|
|
typedef long unsigned int size_t;
|
|
|
|
typedef struct { long long __ll; long double __ld; } max_align_t;
|
|
|
|
#define offsetof(type, member) __builtin_offsetof(type, member)
|
|
|
|
#endif /* _STDDEF_H */
|