software: fix size_t and ptrdiff_t
This commit is contained in:
parent
494c383fa8
commit
a40b0ea175
|
@ -27,8 +27,8 @@
|
||||||
#define PRINTF_SPECIAL 32 /* 0x */
|
#define PRINTF_SPECIAL 32 /* 0x */
|
||||||
#define PRINTF_LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */
|
#define PRINTF_LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */
|
||||||
|
|
||||||
typedef int size_t;
|
typedef unsigned long size_t;
|
||||||
typedef int ptrdiff_t;
|
typedef long ptrdiff_t;
|
||||||
|
|
||||||
#define NULL ((void *)0)
|
#define NULL ((void *)0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue