Ticket #56196: HighSierra-src_FbTK_FbTime.cc-clock_gettime.patch

File HighSierra-src_FbTK_FbTime.cc-clock_gettime.patch, 360 bytes (added by ballapete (Peter "Pete" Dyballa), 7 years ago)
  • src/FbTk/FbTime.cc

    old new  
    2525#include <sys/time.h>
    2626
    2727
    28 #ifdef HAVE_CLOCK_GETTIME // linux|*bsd|solaris
     28#if defined HAVE_CLOCK_GETTIME &&  __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 101300 // linux|*bsd|solaris
    2929#include <time.h>
    3030
    3131namespace {