Merge pull request #5725 from lioncash/dead

Signals: Preprocessor disable intentional dead code
This commit is contained in:
Ryan Houdek authored and GitHub committed 2026-07-12 11:06:30 -07:00
commit a135325185
1 file changed
+2
@@ -43,8 +43,10 @@ void RegisterSignals(FEX::HLE::SyscallHandler* Handler) {
// Disable userfaultfd until we can properly emulate it
// This is okay because the kernel configuration allows you to disable it at compile time
return -ENOSYS;
#if 0
uint64_t Result = ::syscall(SYSCALL_DEF(userfaultfd), flags);
SYSCALL_ERRNO();
#endif
});
REGISTER_SYSCALL_IMPL(signalfd, [](FEXCore::Core::CpuStateFrame* Frame, int fd, const uint64_t* mask, size_t sigsetsize) -> uint64_t {