Guard ptrdiff_t.
This commit is contained in:
parent
f7e2bd0458
commit
d9259fbcc0
@ -33,7 +33,10 @@
|
||||
#include <sys/_null.h>
|
||||
#include <machine/_types.h>
|
||||
|
||||
#ifndef _PTRDIFF_T_DECLARED
|
||||
typedef __ptrdiff_t ptrdiff_t;
|
||||
#define _PTRDIFF_T_DECLARED
|
||||
#endif
|
||||
|
||||
#define offsetof(type, field) __offsetof(type, field)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user