Skip to content

Commit 6f7a8a6

Browse files
fix if _LIBCPP_HAS_MONOTONIC_CLOCK
1 parent 89223a8 commit 6f7a8a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/time/time.traits.is.clock/trait.is.clock.compile.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static_assert(!std::chrono::is_clock_v<EmptyStruct>);
186186
static_assert(!std::chrono::is_clock_v<int>);
187187
static_assert(!std::chrono::is_clock_v<void>);
188188
static_assert(!std::chrono::is_clock_v<std::chrono::system_clock::time_point>);
189-
#ifdef _LIBCPP_HAS_MONOTONIC_CLOCK
189+
#if _LIBCPP_HAS_MONOTONIC_CLOCK
190190
static_assert(!std::chrono::is_clock_v<std::chrono::steady_clock::time_point>);
191191
#endif
192192
static_assert(!std::chrono::is_clock_v<std::chrono::seconds>);

0 commit comments

Comments
 (0)