mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
build: fix gcc error in arm64.
This commit is contained in:
parent
916a8fe67c
commit
3bfe400d70
|
|
@ -295,8 +295,12 @@ long syscall(long number, ...) {
|
|||
switch (number) {
|
||||
case SYS_execve:
|
||||
case SYS_execveat:
|
||||
#ifdef SYS_fork
|
||||
case SYS_fork:
|
||||
#endif
|
||||
#ifdef SYS_vfork
|
||||
case SYS_vfork:
|
||||
#endif
|
||||
case SYS_clone:
|
||||
case SYS_clone3:
|
||||
#ifdef SYS_posix_spawn
|
||||
|
|
|
|||
Loading…
Reference in New Issue