From 8c0c8e154b268791c93f42b22dc58241d2767627 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 21 Dec 2018 04:30:04 +0000 Subject: [PATCH] Don't forward declare _FilesystemClock in C++03 llvm-svn: 349887 --- libcxx/include/chrono | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcxx/include/chrono b/libcxx/include/chrono index a5bb9afa8b27..cabf18c038c1 100644 --- a/libcxx/include/chrono +++ b/libcxx/include/chrono @@ -808,9 +808,11 @@ constexpr chrono::year operator ""y(unsigned lo _LIBCPP_PUSH_MACROS #include <__undef_macros> +#ifndef _LIBCPP_CXX03_LANG _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM struct _FilesystemClock; _LIBCPP_END_NAMESPACE_FILESYSTEM +#endif // !_LIBCPP_CXX03_LANG _LIBCPP_BEGIN_NAMESPACE_STD