1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00

win: define MiniDumpWithAvxXStateContext always (#3998)

This commit is contained in:
Santiago Gimeno 2023-05-16 16:29:03 +02:00 committed by GitHub
parent 1a56f68451
commit d1a2efc77b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1279,11 +1279,9 @@ static int uv__kill(HANDLE process_handle, int signum) {
sym_options = SymGetOptions();
SymSetOptions(sym_options | 0x40000000);
/* patch for mingw under 12 */
#ifdef __MINGW32__
/* MiniDumpWithAvxXStateContext might be undef in server2012r2 or mingw < 12 */
#ifndef MiniDumpWithAvxXStateContext
#define MiniDumpWithAvxXStateContext 0x00200000
#endif
#endif
/* We default to a fairly complete dump. In the future, we may want to
* allow clients to customize what kind of dump to create. */