[Kernel] Fix macro collisions with macOS system headers

Rename IPPROTO_TCP/UDP/VDP enum values to XE_IPPROTO_* to avoid
collision with macOS <netinet/in.h> macros. Add #undef WAIT_ANY
guard for macOS <sys/wait.h> macro.
This commit is contained in:
Herman S.
2026-03-27 00:06:53 +09:00
parent 46613f1126
commit 8cd7f69cbc
3 changed files with 8 additions and 5 deletions

View File

@@ -222,6 +222,9 @@ struct X_KPCR {
uint8_t unk_2AC[0x2C]; // 0x2AC
};
#ifdef WAIT_ANY
#undef WAIT_ANY
#endif
enum : uint16_t {
WAIT_ALL = 0,
WAIT_ANY = 1,