diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-01 16:01:04 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-01 16:01:04 -0700 |
commit | 00c2e03551a61ca76bdb303f1c007845f8a6dbd6 (patch) | |
tree | 51a3fb38eff156561441960606533fd0c1be71df /system/lib/libcxx/chrono.cpp | |
parent | 36600f34ef0ec2cf75165be3753567e256f514db (diff) | |
parent | 2787d1f7d01afb598ed56c4d52dab876e0a34a74 (diff) |
Merge pull request #1009 from waywardmonkeys/another-libcxx-update1.3.6
Another libcxx update
Diffstat (limited to 'system/lib/libcxx/chrono.cpp')
-rw-r--r-- | system/lib/libcxx/chrono.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/lib/libcxx/chrono.cpp b/system/lib/libcxx/chrono.cpp index 1ce2e280..15a6f466 100644 --- a/system/lib/libcxx/chrono.cpp +++ b/system/lib/libcxx/chrono.cpp @@ -9,7 +9,7 @@ #include "chrono" #include <sys/time.h> //for gettimeofday and timeval -#if __APPLE__ +#ifdef __APPLE__ #include <mach/mach_time.h> // mach_absolute_time, mach_timebase_info_data_t #else /* !__APPLE__ */ #include <cerrno> // 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 |