summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPirama Arumuga Nainar2018-06-01 16:59:22 -0500
committerPirama Arumuga Nainar2018-06-25 13:47:52 -0500
commit8e52362e45c7d14d30c158e3c5f05e53e499bea4 (patch)
tree48d37481a07181150f34ebca2b50f345ea0aa055
parent7982178b7bb877ab967f861896ab543d1002a943 (diff)
downloadplatform-system-core-8e52362e45c7d14d30c158e3c5f05e53e499bea4.tar.gz
platform-system-core-8e52362e45c7d14d30c158e3c5f05e53e499bea4.tar.xz
platform-system-core-8e52362e45c7d14d30c158e3c5f05e53e499bea4.zip
Adapt to switch to Clang for Windows host builds
Bug: http://b/69933068 Bug: http://b/91353691: std::chrono_utils is not available in the libstdc++ in the mingw/gcc prebuilts. They can be used once we switch to using libc++ for Windows host. Test: m native-host-cross with Clang Change-Id: If9f0f1f201d5e4e445890075ad64c2d6086b0491
-rw-r--r--base/include/android-base/chrono_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/include/android-base/chrono_utils.h b/base/include/android-base/chrono_utils.h
index c3396ee2f..b7647f22c 100644
--- a/base/include/android-base/chrono_utils.h
+++ b/base/include/android-base/chrono_utils.h
@@ -20,7 +20,7 @@
20#include <chrono> 20#include <chrono>
21#include <sstream> 21#include <sstream>
22 22
23#if __cplusplus > 201103L // C++14 23#if __cplusplus > 201103L && !defined(__WIN32) // C++14
24using namespace std::chrono_literals; 24using namespace std::chrono_literals;
25#endif 25#endif
26 26