1) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.c
2) remove a dangling pragma in E100b.c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2402 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -22,7 +22,9 @@ Revision history:
|
||||
#include "undi32.h"
|
||||
|
||||
|
||||
#ifdef _MSC_EXTENSIONS
|
||||
#pragma data_seg("rtdata")
|
||||
#endif
|
||||
|
||||
//
|
||||
// Global variables defined in this file
|
||||
@@ -1648,4 +1650,6 @@ Returns:
|
||||
PxePtr->Fudge = (UINT8) (PxePtr->Fudge - ChkSum ((VOID *) PxePtr, PxePtr->Len));
|
||||
}
|
||||
|
||||
#ifdef _MSC_EXTENSIONS
|
||||
#pragma data_seg()
|
||||
#endif
|
||||
|
@@ -3754,5 +3754,3 @@ Returns:
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#pragma data_seg()
|
||||
|
Reference in New Issue
Block a user