Fix build with Windows 10 20348 SDK

Bug: chromium:1292528
Change-Id: Iaee784fe3992725086636dddb5f73d7e1373e7d7
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3558794
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
Yuly Novikov 2022-03-29 18:22:35 -04:00 committed by Ivan Penkov
parent fd72a6c232
commit e09741c609

View file

@ -43,15 +43,19 @@
namespace {
/*
* Not defined in WinNT.h for some reason. Definitions taken from:
* http://uninformed.org/index.cgi?v=4&a=1&p=13
* Not defined in WinNT.h prior to SDK 10.0.20348.0 for some reason.
* Definitions taken from: http://uninformed.org/index.cgi?v=4&a=1&p=13
*
*/
typedef unsigned char UBYTE;
#if !defined(_WIN64)
#if !defined(UNW_FLAG_EHANDLER)
#define UNW_FLAG_EHANDLER 0x01
#endif
#if !defined(UNW_FLAG_UHANDLER)
#define UNW_FLAG_UHANDLER 0x02
#endif
#if !defined(UNW_FLAG_CHAININFO)
#define UNW_FLAG_CHAININFO 0x04
#endif