Explorar el Código

use raw_union?

Colin Davidson hace 2 años
padre
commit
8f39c45e9b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core/sys/windows/kernel32.odin

+ 1 - 1
core/sys/windows/kernel32.odin

@@ -1032,7 +1032,7 @@ CACHE_DESCRIPTOR :: struct {
 SYSTEM_LOGICAL_PROCESSOR_INFORMATION :: struct {
 	ProcessorMask: ULONGPTR,
 	Relationship: LOGICAL_PROCESSOR_RELATIONSHIP,
-	DUMMYUNIONNAME :: union {
+	DUMMYUNIONNAME :: struct #raw_union {
 		ProcessorCore :: struct {
 			Flags: BYTE,
 		},