Some fixes for MinGW

* Rename Windows.h uses to windows.h
  * Comment out structured exception handling usage

Makes MinGW happier. Mostly the same as previous work by
Nicolas Dufresne <nicolas.dufresne@collabora.com>, with the exception
that we now don't try to invoke RaiseException which would fail in MinGW
as it raises a Windows structured exception.
This commit is contained in:
Arun Raghavan
2021-06-18 18:40:32 -04:00
parent 57ec282d4f
commit ff85c98683
4 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,7 @@
#include <cerrno>
#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#else
#include <string.h>
#endif