mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
fix MSVC build
MSVC doesn't support __attribute__((__packed__)), but both it and GCC support pack pragmas, so that's what we'll use.
This commit is contained in:
parent
8d50d0fd76
commit
2e0770b0f3
@ -833,11 +833,13 @@ class MySystem: public System {
|
||||
const char* crashDumpDirectory;
|
||||
};
|
||||
|
||||
struct __attribute__ ((__packed__)) MINIDUMP_EXCEPTION_INFORMATION {
|
||||
#pragma pack(push,4)
|
||||
struct MINIDUMP_EXCEPTION_INFORMATION {
|
||||
DWORD thread;
|
||||
LPEXCEPTION_POINTERS exception;
|
||||
BOOL exceptionInCurrentAddressSpace;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
struct MINIDUMP_USER_STREAM_INFORMATION;
|
||||
struct MINIDUMP_CALLBACK_INFORMATION;
|
||||
|
Loading…
Reference in New Issue
Block a user