From 815a6cc1e325a4e8596b91756039a7d699471b11 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 27 Apr 2013 22:47:52 +0000 Subject: Merge libc++ trunk r180598. Contains several minor cleanups and bug fixes, no major changes. MFC after: 2 weeks --- contrib/libc++/src/chrono.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/libc++/src/chrono.cpp') diff --git a/contrib/libc++/src/chrono.cpp b/contrib/libc++/src/chrono.cpp index 1ce2e28..15a6f46 100644 --- a/contrib/libc++/src/chrono.cpp +++ b/contrib/libc++/src/chrono.cpp @@ -9,7 +9,7 @@ #include "chrono" #include //for gettimeofday and timeval -#if __APPLE__ +#ifdef __APPLE__ #include // mach_absolute_time, mach_timebase_info_data_t #else /* !__APPLE__ */ #include // errno @@ -50,7 +50,7 @@ system_clock::from_time_t(time_t t) _NOEXCEPT const bool steady_clock::is_steady; -#if __APPLE__ +#ifdef __APPLE__ // mach_absolute_time() * MachInfo.numer / MachInfo.denom is the number of // nanoseconds since the computer booted up. MachInfo.numer and MachInfo.denom // are run time constants supplied by the OS. This clock has no relationship -- cgit v1.1