mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
No need to prototype RtlCaptureContext with mingw-w64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f141a5534e
commit
9f6a4a5bb8
@ -387,8 +387,9 @@ void sys::PrintStackTraceOnErrorSignal() {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef __MINGW32__
|
||||
// Provide a prototype for RtlCaptureContext, mingw32 is missing it.
|
||||
#if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
|
||||
// Provide a prototype for RtlCaptureContext, mingw32 from mingw.org is
|
||||
// missing it but mingw-w64 has it.
|
||||
extern "C" VOID WINAPI RtlCaptureContext(PCONTEXT ContextRecord);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user