projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix some type leakage (timer_t) from x86_64 commit
[oweals/musl.git]
/
include
/
stddef.h
1
#ifndef _STDDEF_H
2
#define _STDDEF_H
3
4
#undef NULL
5
#ifdef __cplusplus
6
#define NULL 0
7
#else
8
#define NULL ((void*)0)
9
#endif
10
11
#define __NEED_ptrdiff_t
12
#define __NEED_size_t
13
#define __NEED_wchar_t
14
15
#include <bits/alltypes.h>
16
17
#define offsetof(type, member) ((size_t)( (char *)&(((type *)0)->member) - (char *)0 ))
18
19
#endif