mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
Fix VS 2005 compatibility issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1666 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f55a0ac966
commit
956e7946f1
@ -99,6 +99,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
<target name="sections" />
|
<target name="sections" />
|
||||||
|
|
||||||
<target name="output" >
|
<target name="output" >
|
||||||
|
<if>
|
||||||
|
<available type="file" file="${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
|
||||||
|
<then>
|
||||||
|
<var name="SLINK_FLAGS" value="${SLINK_FLAGS} ${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
|
||||||
|
</then>
|
||||||
|
</if>
|
||||||
<OnDependency>
|
<OnDependency>
|
||||||
<sourcefiles>
|
<sourcefiles>
|
||||||
<fileset dir="${DEST_DIR_OUTPUT}" includes="${OBJECTS}" />
|
<fileset dir="${DEST_DIR_OUTPUT}" includes="${OBJECTS}" />
|
||||||
|
@ -45,6 +45,7 @@ Abstract:
|
|||||||
// to tell if all the elements have been initailized properly.
|
// to tell if all the elements have been initailized properly.
|
||||||
//
|
//
|
||||||
#pragma warning(disable : 4232)
|
#pragma warning(disable : 4232)
|
||||||
|
#pragma warning(disable : 4996)
|
||||||
|
|
||||||
EFI_WIN_NT_THUNK_PROTOCOL mWinNtThunkTable = {
|
EFI_WIN_NT_THUNK_PROTOCOL mWinNtThunkTable = {
|
||||||
EFI_WIN_NT_THUNK_PROTOCOL_SIGNATURE,
|
EFI_WIN_NT_THUNK_PROTOCOL_SIGNATURE,
|
||||||
@ -137,7 +138,7 @@ EFI_WIN_NT_THUNK_PROTOCOL mWinNtThunkTable = {
|
|||||||
PurgeComm,
|
PurgeComm,
|
||||||
SetCommTimeouts,
|
SetCommTimeouts,
|
||||||
ExitProcess,
|
ExitProcess,
|
||||||
swprintf,
|
_snwprintf,
|
||||||
GetDesktopWindow,
|
GetDesktopWindow,
|
||||||
GetForegroundWindow,
|
GetForegroundWindow,
|
||||||
CreateWindowEx,
|
CreateWindowEx,
|
||||||
@ -173,6 +174,7 @@ EFI_WIN_NT_THUNK_PROTOCOL mWinNtThunkTable = {
|
|||||||
HeapFree
|
HeapFree
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#pragma warning(default : 4996)
|
||||||
#pragma warning(default : 4232)
|
#pragma warning(default : 4232)
|
||||||
|
|
||||||
EFI_WIN_NT_THUNK_PROTOCOL *gWinNt = &mWinNtThunkTable;
|
EFI_WIN_NT_THUNK_PROTOCOL *gWinNt = &mWinNtThunkTable;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user