Index: vtk7-7.1.1+dfsg2/ThirdParty/diy2/vtkdiy2/include/vtkdiy/time.hpp
===================================================================
--- vtk7-7.1.1+dfsg2.orig/ThirdParty/diy2/vtkdiy2/include/vtkdiy/time.hpp
+++ vtk7-7.1.1+dfsg2/ThirdParty/diy2/vtkdiy2/include/vtkdiy/time.hpp
@@ -3,7 +3,7 @@
 
 #include <sys/time.h>
 
-#ifdef __MACH__
+#ifdef __APPLE__
 #include <mach/clock.h>
 #include <mach/mach.h>
 #endif
@@ -15,7 +15,7 @@ typedef     unsigned long       time_typ
 
 inline time_type get_time()
 {
-#ifdef __MACH__ // OS X does not have clock_gettime, use clock_get_time
+#ifdef __APPLE__ // OS X does not have clock_gettime, use clock_get_time
     clock_serv_t cclock;
     mach_timespec_t ts;
     host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &cclock);
