Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e52362e authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar
Browse files

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
parent 7982178b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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