Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / include / errorrep.h
blob1361855e3dda1d5305b6cf59ec2381290403b643
1 #ifndef _ERRORREP_H
2 #define _ERRORREP_H
3 #if __GNUC__ >= 3
4 #pragma GCC system_header
5 #endif
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 #if (_WIN32_WINNT >= 0x0501)
12 typedef enum {
13 frrvErr = 3,
14 frrvErrNoDW = 4,
15 frrvErrTimeout = 5,
16 frrvLaunchDebugger = 6,
17 frrvOk = 0,
18 frrvOkHeadless = 7,
19 frrvOkManifest = 1,
20 frrvOkQueued = 2
21 } EFaultRepRetVal;
22 BOOL WINAPI AddERExcludedApplicationA(LPCSTR);
23 BOOL WINAPI AddERExcludedApplicationW(LPCWSTR);
24 EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS,DWORD);
25 #endif
27 #ifdef UNICODE
28 #if (_WIN32_WINNT >= 0x0501)
29 #define AddERExcludedApplication AddERExcludedApplicationW
30 #endif
31 #else
32 #if (_WIN32_WINNT >= 0x0501)
33 #define AddERExcludedApplication AddERExcludedApplicationA
34 #endif
35 #endif
37 #ifdef __cplusplus
39 #endif
40 #endif