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 f8a6ea0a9a
commit a9f97c9fdd
2 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@
#include "rtc_base/numerics/safe_conversions.h"
#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#else
#endif