Explorar o código

Merge pull request #4474 from tf2spi/4407-mdei-pack

Pack MDEI struct to fix issue #4407
gingerBill hai 8 meses
pai
achega
30bb2250c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/sys/windows/dbghelp.odin

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

@@ -15,7 +15,7 @@ MINIDUMP_DIRECTORY :: struct {
 	Location:   MINIDUMP_LOCATION_DESCRIPTOR,
 	Location:   MINIDUMP_LOCATION_DESCRIPTOR,
 }
 }
 
 
-MINIDUMP_EXCEPTION_INFORMATION :: struct {
+MINIDUMP_EXCEPTION_INFORMATION :: struct #max_field_align(4) {
 	ThreadId:          DWORD,
 	ThreadId:          DWORD,
 	ExceptionPointers: ^EXCEPTION_POINTERS,
 	ExceptionPointers: ^EXCEPTION_POINTERS,
 	ClientPointers:    BOOL,
 	ClientPointers:    BOOL,