12 lines
274 B
C
12 lines
274 B
C
#ifndef __SYSCALL_H__
|
|
#define __SYSCALL_H__
|
|
|
|
#if defined(__linux__) && defined(__aarch64__)
|
|
#include "platforms/linux-arm64/syscall.h"
|
|
#elif defined(__linux__) && defined(__amd64__)
|
|
#include "platforms/linux-amd64/syscall.h"
|
|
#endif
|
|
|
|
extern int syscall(int nr, ...);
|
|
|
|
#endif
|