]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/CCode/Source/GenFvMap/GenFvMap.cpp
Fix building error in Linux
[mirror_edk2.git] / Tools / CCode / Source / GenFvMap / GenFvMap.cpp
index 0ff5bd07eeb89c9c21bcecbd873f8480e7c2bd14..1bd7b38f5497126e063ea212bb05d2d6a89fdb41 100644 (file)
@@ -8,11 +8,11 @@
 //** from the company.\r
 //**\r
 //****************************************************************************\r
-\r
+#include "ProcessorBind.h"\r
+#include <iostream>\r
 #include <stdexcept>\r
 #include <list>\r
 #include <map>\r
-#include <iostream>\r
 #include <iomanip>\r
 #include <fstream>\r
 #include <sstream>\r
@@ -22,7 +22,7 @@
 #include <functional>\r
 using namespace std;\r
 \r
-typedef unsigned __int64 ulonglong_t;\r
+typedef UINT64 ulonglong_t;\r
 \r
 template <class T>\r
 class CMemoryLeakChecker : public list<T*>\r
@@ -142,7 +142,7 @@ ostream& operator << (ostream& os, const CIdentity& idRight)
         << setw(4) << (unsigned short)(idRight.m_ullId[0] >> 16) << '-'\r
         << setw(4) << (unsigned short)idRight.m_ullId[0] << '-'\r
         << setw(4) << (unsigned short)(idRight.m_ullId[1] >> 48) << '-'\r
-        << setw(12) <<  (idRight.m_ullId[1] & 0xffffffffffff);\r
+        << setw(12) <<  (idRight.m_ullId[1] & 0xffffffffffffULL);\r
 }\r
 \r
 class CInputFile : public CObjRoot\r