From: klu2 Date: Thu, 4 Jan 2007 06:08:27 +0000 (+0000) Subject: Fix building error in Linux X-Git-Tag: edk2-stable201903~23712 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=327bd141ad219ceddf52850490ca306799cd4504;hp=8d4243f1bd81497181a3cc135239422c43364105 Fix building error in Linux git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2165 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/CCode/Source/GenFvMap/GenFvMap.cpp b/Tools/CCode/Source/GenFvMap/GenFvMap.cpp index 0ff5bd07ee..1bd7b38f54 100644 --- a/Tools/CCode/Source/GenFvMap/GenFvMap.cpp +++ b/Tools/CCode/Source/GenFvMap/GenFvMap.cpp @@ -8,11 +8,11 @@ //** from the company. //** //**************************************************************************** - +#include "ProcessorBind.h" +#include #include #include #include -#include #include #include #include @@ -22,7 +22,7 @@ #include using namespace std; -typedef unsigned __int64 ulonglong_t; +typedef UINT64 ulonglong_t; template class CMemoryLeakChecker : public list @@ -142,7 +142,7 @@ ostream& operator << (ostream& os, const CIdentity& idRight) << setw(4) << (unsigned short)(idRight.m_ullId[0] >> 16) << '-' << setw(4) << (unsigned short)idRight.m_ullId[0] << '-' << setw(4) << (unsigned short)(idRight.m_ullId[1] >> 48) << '-' - << setw(12) << (idRight.m_ullId[1] & 0xffffffffffff); + << setw(12) << (idRight.m_ullId[1] & 0xffffffffffffULL); } class CInputFile : public CObjRoot diff --git a/Tools/CCode/Source/GenFvMap/build.xml b/Tools/CCode/Source/GenFvMap/build.xml index 4d7e155591..6d87631e8c 100644 --- a/Tools/CCode/Source/GenFvMap/build.xml +++ b/Tools/CCode/Source/GenFvMap/build.xml @@ -33,15 +33,28 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + + + + + + + + + + + + - - - + + + + +