diff options
Diffstat (limited to 'src/util.cc')
-rw-r--r-- | src/util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cc b/src/util.cc index d240e1c..e59ff74 100644 --- a/src/util.cc +++ b/src/util.cc @@ -294,7 +294,7 @@ string StripAnsiEscapeCodes(const string& in) { return stripped; } -#ifdef _WIN32
+#ifdef _MSC_VER
typedef BOOL (WINAPI *MiniDumpWriteDumpFunc) (
IN HANDLE,
IN DWORD,
@@ -367,6 +367,6 @@ int exception_filter(unsigned int code, struct _EXCEPTION_POINTERS *ep) { return EXCEPTION_EXECUTE_HANDLER;
}
#else
- //on Linux, core dumps are created automatically, no code needed
+ //on Linux or MinGW, core dumps are created automatically, no code needed
#endif
|