From 3cab422021b121cad7a4592114f1b28f636b599d Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Thu, 23 Jan 2014 18:15:19 -0800 Subject: 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 --- runtime/base/mutex-inl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'runtime/base') diff --git a/runtime/base/mutex-inl.h b/runtime/base/mutex-inl.h index 30bf623..a7e25cb 100644 --- a/runtime/base/mutex-inl.h +++ b/runtime/base/mutex-inl.h @@ -17,7 +17,6 @@ #ifndef ART_RUNTIME_BASE_MUTEX_INL_H_ #define ART_RUNTIME_BASE_MUTEX_INL_H_ -#define __STDC_FORMAT_MACROS 1 #include #include "mutex.h" -- cgit v1.1