diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin index 27a3330f6..56b63a494 100644 --- a/core/sys/windows/kernel32.odin +++ b/core/sys/windows/kernel32.odin @@ -1029,17 +1029,18 @@ CACHE_DESCRIPTOR :: struct { Type: PROCESSOR_CACHE_TYPE, } +DUMMYUNIONNAME_u :: struct #raw_union { + ProcessorCore :: struct { + Flags: BYTE, + }, + NumaNode :: struct { + NodeNumber: DWORD, + }, + Cache: CACHE_DESCRIPTOR, + Reserved: [2]ULONGLONG, +}, SYSTEM_LOGICAL_PROCESSOR_INFORMATION :: struct { ProcessorMask: ULONGPTR, Relationship: LOGICAL_PROCESSOR_RELATIONSHIP, - DUMMYUNIONNAME :: struct #raw_union { - ProcessorCore :: struct { - Flags: BYTE, - }, - NumaNode :: struct { - NodeNumber: DWORD, - }, - Cache: CACHE_DESCRIPTOR, - Reserved: [2]ULONGLONG, - }, + DummyUnion: DUMMYUNIONNAME_u, }