clock_gettime.c: Use __APPLE__ instead of __MACH__
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 2 Nov 2016 08:41:43 +0000 (14:11 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 2 Nov 2016 08:42:32 +0000 (14:12 +0530)
commit9f4f16df01bea21bb1ec813f34b3b8068d542a8e
treecdd20328e53f9744d0007d8586db883cbf2ae62e
parent2797376f7a7add4eccbf80e2ab17afdc1864ce42
clock_gettime.c: Use __APPLE__ instead of __MACH__

Hurd also defines __MACH__, but it does not have mach_absolute_time. Use
the more strict __APPLE__ instead.

Has also been sent upstream: https://github.com/libcheck/check/pull/65
libs/gst/check/libcheck/clock_gettime.c