mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-14 15:15:04 -04:00
Slightly more portable PRIX64 workaround
This commit is contained in:
parent
afc5a44446
commit
d87cbe3210
2 changed files with 8 additions and 8 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue