Fix build on Windows.
This commit is contained in:
parent
f20475f07e
commit
df277b366b
|
@ -571,8 +571,8 @@ void _generateDump(EXCEPTION_POINTERS* pExceptionPointers) {
|
|||
}
|
||||
if (!hDumpFile || hDumpFile == INVALID_HANDLE_VALUE) {
|
||||
WCHAR wstrPath[maxFileLen];
|
||||
DWORD wstrPathLen;
|
||||
if (wstrPathLen = GetEnvironmentVariable(L"APPDATA", wstrPath, maxFileLen)) {
|
||||
DWORD wstrPathLen = GetEnvironmentVariable(L"APPDATA", wstrPath, maxFileLen);
|
||||
if (wstrPathLen) {
|
||||
wsprintf(wstrPath + wstrPathLen, L"\\%s\\", _programName);
|
||||
hDumpFile = _generateDumpFileAtPath(wstrPath);
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 25facad342c3280315f9ef553906f46c3eeba1e4
|
||||
Subproject commit 2d2592860478e60d972b96e67ee034b8a71bb57a
|
|
@ -1 +1 @@
|
|||
Subproject commit f701713cd798bd7d5f69d318fdefb125d101aa76
|
||||
Subproject commit eb9496540356945e2c9fb700bcfa51444fd36f41
|
|
@ -1 +1 @@
|
|||
Subproject commit 659b9181240aae16c05ef8ab7e6c4dd527afcf8a
|
||||
Subproject commit 363db4e49a0b78e5dd08bd922e09cf8810318c09
|
Loading…
Reference in New Issue