-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed compilation of all packages tracked by CI after rebasing upon e…
…dk2-stable202311 tag.
- Loading branch information
Mikhail Krichanov
committed
Dec 18, 2023
1 parent
f7d5b64
commit 883c78f
Showing
15 changed files
with
96 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/** @file | ||
Include file for the WinNt Library | ||
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> | ||
SPDX-License-Identifier: BSD-2-Clause-Patent | ||
**/ | ||
|
||
#ifndef __WIN_NT_INCLUDE_H__ | ||
#define __WIN_NT_INCLUDE_H__ | ||
|
||
#define GUID _WINNT_DUP_GUID_____ | ||
#define _LIST_ENTRY _WINNT_DUP_LIST_ENTRY_FORWARD | ||
#define LIST_ENTRY _WINNT_DUP_LIST_ENTRY | ||
|
||
#if (_MSC_VER < 1800) | ||
#define InterlockedIncrement _WINNT_DUP_InterlockedIncrement | ||
#define InterlockedDecrement _WINNT_DUP_InterlockedDecrement | ||
#define InterlockedCompareExchange64 _WINNT_DUP_InterlockedCompareExchange64 | ||
#endif | ||
|
||
#undef UNALIGNED | ||
#undef CONST | ||
#undef VOID | ||
|
||
#ifndef __GNUC__ | ||
#include "windows.h" | ||
|
||
// | ||
// Win32 include files do not compile clean with /W4, so we use the warning | ||
// pragma to suppress the warnings for Win32 only. This way our code can still | ||
// compile at /W4 (highest warning level) with /WX (warnings cause build | ||
// errors). | ||
// | ||
#pragma warning(disable : 4115) | ||
#pragma warning(disable : 4201) | ||
#pragma warning(disable : 4214) | ||
#pragma warning(disable : 4028) | ||
#pragma warning(disable : 4133) | ||
|
||
// | ||
// Set the warnings back on as the EFI code must be /W4. | ||
// | ||
#pragma warning(default : 4115) | ||
#pragma warning(default : 4201) | ||
|
||
#endif | ||
|
||
#undef GUID | ||
#undef _LIST_ENTRY | ||
#undef LIST_ENTRY | ||
#undef InterlockedIncrement | ||
#undef InterlockedDecrement | ||
#undef InterlockedCompareExchange64 | ||
#undef InterlockedCompareExchangePointer | ||
|
||
#define VOID void | ||
|
||
// | ||
// Prevent collisions with Windows API name macros that deal with Unicode/Not issues | ||
// | ||
#undef LoadImage | ||
#undef CreateEvent | ||
|
||
// | ||
// FAR is used as a struct member name by DebugSupport.h. | ||
// | ||
#undef FAR | ||
|
||
// | ||
// These two macros collide with re-definitions and case labels. | ||
// | ||
#undef ERROR | ||
#undef MAX_PATH | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters