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:
qwang12 2007-02-27 03:30:12 +00:00
parent bc2693a840
commit 3bd0d8f8a9
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,9 @@ Revision history:
#include "undi32.h" #include "undi32.h"
#ifdef _MSC_EXTENSIONS
#pragma data_seg("rtdata") #pragma data_seg("rtdata")
#endif
// //
// Global variables defined in this file // Global variables defined in this file
@ -1648,4 +1650,6 @@ Returns:
PxePtr->Fudge = (UINT8) (PxePtr->Fudge - ChkSum ((VOID *) PxePtr, PxePtr->Len)); PxePtr->Fudge = (UINT8) (PxePtr->Fudge - ChkSum ((VOID *) PxePtr, PxePtr->Len));
} }
#ifdef _MSC_EXTENSIONS
#pragma data_seg() #pragma data_seg()
#endif

View File

@ -3754,5 +3754,3 @@ Returns:
return 0; return 0;
} }
#pragma data_seg()