mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
rename platform weak functions
This commit is contained in:
parent
1659e13091
commit
37437c9c8e
3
port/linux/.vscode/settings.json
vendored
3
port/linux/.vscode/settings.json
vendored
@ -16,7 +16,8 @@
|
||||
"pikastdlib_memchecker.h": "c",
|
||||
"pikaparser.h": "c",
|
||||
"stdint.h": "c",
|
||||
"cstdio": "c"
|
||||
"cstdio": "c",
|
||||
"cstdlib": "c"
|
||||
},
|
||||
"python.formatting.provider": "yapf"
|
||||
}
|
@ -27,6 +27,7 @@
|
||||
|
||||
#include "PikaPlatform.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
PIKA_WEAK void __platform_disable_irq_handle(void) {
|
||||
/* disable irq to support thread */
|
||||
|
@ -29,8 +29,8 @@
|
||||
#define __PIKA_PALTFORM__H
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__CC_ARM) || defined(__CLANG_ARM) /* ARM Compiler */
|
||||
#define PIKA_WEAK __attribute__((weak))
|
||||
|
Loading…
x
Reference in New Issue
Block a user