4
1
mirror of https://github.com/DragonOS-Community/DragonOS.git synced 2025-06-19 13:16:31 +00:00

Patch porting gcc v2 (#124)

* 更改编译器的Include路径,使得include时不需要加`<libc/src/include/>`前缀

* 修改include路径

Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
guanjinquan
2022-12-31 17:35:39 +08:00
committed by GitHub
parent d4f3de93a2
commit 74bde36e01
49 changed files with 117 additions and 112 deletions

@ -1,9 +1,9 @@
#include <libc/src/stdlib.h>
#include <stdlib.h>
#include <libsystem/syscall.h>
#include <libc/src/stddef.h>
#include <libc/src/unistd.h>
#include <libc/src/errno.h>
#include <libc/src/stdio.h>
#include <stddef.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#define PAGE_4K_SHIFT 12
#define PAGE_2M_SHIFT 21