diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-08-18 08:27:12 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-08-18 08:27:12 +0000 |
commit | 8ad8b454b4916f3cbee9af77a1095ffbf2bc0896 (patch) | |
tree | 10fcc61fc9faa64dcff77a8edde0d6aea60914a2 /test/std/language.support/support.runtime/ctime.pass.cpp | |
parent | 4504f4f22a7d118de108a06e3417fac15af31ff9 (diff) |
Notes
Diffstat (limited to 'test/std/language.support/support.runtime/ctime.pass.cpp')
-rw-r--r-- | test/std/language.support/support.runtime/ctime.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/std/language.support/support.runtime/ctime.pass.cpp b/test/std/language.support/support.runtime/ctime.pass.cpp index 908dc480884c..d80bc198293e 100644 --- a/test/std/language.support/support.runtime/ctime.pass.cpp +++ b/test/std/language.support/support.runtime/ctime.pass.cpp @@ -45,7 +45,7 @@ int main() static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), ""); static_assert((std::is_same<decltype(std::mktime(&tm)), std::time_t>::value), ""); static_assert((std::is_same<decltype(std::time(&t)), std::time_t>::value), ""); -#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES) +#if TEST_STD_VER > 14 && defined(TEST_HAS_TIMESPEC_GET) static_assert((std::is_same<decltype(std::timespec_get(nullptr, 0)), int>::value), ""); #endif #ifndef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS |