This define was out of sync with the corresponding define in tests, it
was added inconsistently in
171c77b7dad4a050aca23ff7ca1b75f87560fefb.
Modern MSVC environments do have these typedefs and functions.
Differential Revision: https://reviews.llvm.org/D103398
# define _LIBCPP_HAS_QUICK_EXIT
# define _LIBCPP_HAS_TIMESPEC_GET
# endif
+# elif defined(_LIBCPP_MSVCRT)
+ // Using Microsoft's C Runtime library, not MinGW
+# define _LIBCPP_HAS_TIMESPEC_GET
# elif defined(__APPLE__)
// timespec_get and aligned_alloc were introduced in macOS 10.15 and
// aligned releases
// UNSUPPORTED: c++03, c++11, c++14
-// XFAIL: LIBCXX-WINDOWS-FIXME
-
// Make sure TEST_HAS_TIMESPEC_GET (defined by the test suite) and
// _LIBCPP_HAS_TIMESPEC_GET (defined by libc++) stay in sync.
// test <ctime>
-// XFAIL: LIBCXX-WINDOWS-FIXME
-
#include <ctime>
#include <type_traits>
#include "test_macros.h"
//
//===----------------------------------------------------------------------===//
-// XFAIL: LIBCXX-WINDOWS-FIXME
-
#include <ctime>
#include <type_traits>