[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user