diff options
author | Ian Rogers <irogers@google.com> | 2014-01-23 18:15:19 -0800 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-01-23 18:15:19 -0800 |
commit | 3cab422021b121cad7a4592114f1b28f636b599d (patch) | |
tree | 1f3b452fe5324a6695feea882f67ad2cc4d34a95 /runtime/mem_map.cc | |
parent | c666ee8c75118d072bfd2a2b81b80915f6040593 (diff) | |
download | art-3cab422021b121cad7a4592114f1b28f636b599d.tar.gz art-3cab422021b121cad7a4592114f1b28f636b599d.tar.bz2 art-3cab422021b121cad7a4592114f1b28f636b599d.zip |
Move __STDC_FORMAT_MACROS to a cflag.
Current inttypes.h don't define stdint printf formatting characters for C++ but
in the future this will change. Rather than #define __STDC_FORMAT_MACROS at the
point of inclusion (conventional) pass it as a cflag so there is a single place
to remove the #define when conventions change.
Change-Id: Ice2fb07e19d8fc06ebc534c903a2d02497c31b3d
Diffstat (limited to 'runtime/mem_map.cc')
-rw-r--r-- | runtime/mem_map.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/mem_map.cc b/runtime/mem_map.cc index b07cf5c53f..d3b823668e 100644 --- a/runtime/mem_map.cc +++ b/runtime/mem_map.cc @@ -16,7 +16,6 @@ #include "mem_map.h" -#define __STDC_FORMAT_MACROS 1 #include <inttypes.h> #include <backtrace/BacktraceMap.h> |