[libcxx] r349887 - Don't forward declare _FilesystemClock in C++03
Eric Fiselier
eric at efcs.ca
Thu Dec 20 20:30:04 PST 2018
Author: ericwf
Date: Thu Dec 20 20:30:04 2018
New Revision: 349887
URL: http://llvm.org/viewvc/llvm-project?rev=349887&view=rev
Log:
Don't forward declare _FilesystemClock in C++03
Modified:
libcxx/trunk/include/chrono
Modified: libcxx/trunk/include/chrono
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/chrono?rev=349887&r1=349886&r2=349887&view=diff
==============================================================================
--- libcxx/trunk/include/chrono (original)
+++ libcxx/trunk/include/chrono Thu Dec 20 20:30:04 2018
@@ -808,9 +808,11 @@ constexpr chrono::year
_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
More information about the libcxx-commits
mailing list