mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
Improve compatibility with older uapi kernel headers
Following up the work previously done in 2079f6b3c7.
Adding more defines for older Linux uapi headers missing some defines.
This commit is contained in:
1 parent
30803c66f7
commit
75988b2ae5
6 files changed
+29
No files matched your search
@@ -28,6 +28,10 @@ namespace FHU::Syscalls {
|
||||
#define CLONE_PIDFD 0x00001000
|
||||
#endif
|
||||
|
||||
#ifndef SYS_statx
|
||||
#define SYS_statx 291
|
||||
#endif
|
||||
|
||||
inline int32_t getcpu(uint32_t *cpu, uint32_t *node) {
|
||||
// Third argument is unused
|
||||
#if defined(HAS_SYSCALL_GETCPU) && HAS_SYSCALL_GETCPU
|
||||
|
||||
Reference in new issue
Block a user