mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-27 02:18:22 +08:00
Slightly more portable PRIX64 workaround
This commit is contained in:
parent
29c7d2cd91
commit
8abd090b07
@ -10,15 +10,15 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
*/
|
||||
|
||||
// A workaround for compilers not supporting c++11 and c11
|
||||
// for using PRIX64.
|
||||
#define __STDC_FORMAT_MACROS
|
||||
|
||||
#include "ffsparser.h"
|
||||
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#ifdef __WIN32__ // To workaround PRIX64 issues
|
||||
#include <cinttypes>
|
||||
#else
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#include "descriptor.h"
|
||||
#include "ffs.h"
|
||||
|
@ -12,11 +12,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
*/
|
||||
|
||||
#ifdef __WIN32__ // To workaround PRIX64 issues
|
||||
#include <cinttypes>
|
||||
#else
|
||||
// A workaround for compilers not supporting c++11 and c11
|
||||
// for using PRIX64.
|
||||
#define __STDC_FORMAT_MACROS
|
||||
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <map>
|
||||
|
||||
#include "nvramparser.h"
|
||||
|
Loading…
Reference in New Issue
Block a user