mirror of
https://github.com/frida/tinycc
synced 2024-12-25 06:26:49 +03:00
include/stddef.h: define NULL only if undefined
This commit is contained in:
parent
f3ce1be333
commit
12f94f2770
@ -20,7 +20,10 @@ typedef unsigned int uint32_t;
|
||||
typedef unsigned long long int uint64_t;
|
||||
#endif
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL ((void*)0)
|
||||
#endif
|
||||
|
||||
#define offsetof(type, field) ((size_t)&((type *)0)->field)
|
||||
|
||||
void *alloca(size_t size);
|
||||
|
Loading…
Reference in New Issue
Block a user