diff options
Diffstat (limited to 'libcxx/src/chrono.cpp')
-rw-r--r-- | libcxx/src/chrono.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/chrono.cpp b/libcxx/src/chrono.cpp index c461d19ddb1f..9d448b6a985b 100644 --- a/libcxx/src/chrono.cpp +++ b/libcxx/src/chrono.cpp @@ -37,7 +37,7 @@ #endif #endif -#if defined(__unix__) && defined(__ELF__) && defined(_LIBCPP_HAS_COMMENT_LIB_PRAGMA) +#if defined(__ELF__) && defined(_LIBCPP_LINK_RT_LIB) #pragma comment(lib, "rt") #endif @@ -183,7 +183,7 @@ steady_clock::now() _NOEXCEPT // https://msdn.microsoft.com/en-us/library/windows/desktop/ms644905(v=vs.85).aspx says: // If the function fails, the return value is zero. <snip> -// On systems that run Windows XP or later, the function will always succeed +// On systems that run Windows XP or later, the function will always succeed // and will thus never return zero. static LARGE_INTEGER |