diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-02-27 03:30:12 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-02-27 03:30:12 +0000 |
commit | 3bd0d8f8a92cc9917f4a64fa6d285606efc30863 (patch) | |
tree | 760f2b81acd282ea920a0b9f9da67534594df90e /EdkModulePkg/Bus | |
parent | bc2693a8403c62cf0b2419740d64ab610b5fd23b (diff) | |
download | edk2-platforms-3bd0d8f8a92cc9917f4a64fa6d285606efc30863.tar.xz |
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
Diffstat (limited to 'EdkModulePkg/Bus')
-rw-r--r-- | EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/Decode.c | 4 | ||||
-rw-r--r-- | EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/E100b.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/Decode.c b/EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/Decode.c index c3288438b7..02773d4e3d 100644 --- a/EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/Decode.c +++ b/EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/Decode.c @@ -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
diff --git a/EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/E100b.c b/EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/E100b.c index bca0add42c..90ec85de19 100644 --- a/EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/E100b.c +++ b/EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/E100b.c @@ -3754,5 +3754,3 @@ Returns: return 0;
}
-
-#pragma data_seg()
|