guanjinquan 74bde36e01
Patch porting gcc v2 (#124)
* 更改编译器的Include路径,使得include时不需要加`<libc/src/include/>`前缀

* 修改include路径

Co-authored-by: longjin <longjin@RinGoTek.cn>
2022-12-31 17:35:39 +08:00

14 lines
221 B
C

#pragma once
#include <sys/types.h>
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
typedef __PTRDIFF_TYPE__ ptrdiff_t; // Signed integer type of the result of subtracting two pointers.