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
This commit is contained in:
Pirama Arumuga Nainar 2018-06-01 14:59:22 -07:00
parent 7982178b7b
commit 8e52362e45
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
#include <chrono>
#include <sstream>
#if __cplusplus > 201103L // C++14
#if __cplusplus > 201103L && !defined(__WIN32) // C++14
using namespace std::chrono_literals;
#endif