forked from OSchip/llvm-project
Explicitly enable PRIu64 by defining __STDC_FORMAT_MACROS if it isn't
yet defined. llvm-svn: 198650
This commit is contained in:
parent
ea278c3249
commit
9ee39534aa
|
@ -10,6 +10,12 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
// Explicitly request that the format macros like PRIu64 be enabled if they
|
||||
// haven't already been enabled.
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue