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

@ -11,7 +11,7 @@
#ifndef RTC_BASE_SYNCHRONIZATION_RW_LOCK_WIN_H_
#define RTC_BASE_SYNCHRONIZATION_RW_LOCK_WIN_H_
#include <Windows.h>
#include <windows.h>
#include "rtc_base/synchronization/rw_lock_wrapper.h"