• Robert Castle's avatar
    Problem: clock_gettime is now defined in macOS 10.12 SDK · 0dfb32a2
    Robert Castle authored
    Solution: Rename the custom implementation of clock_gettime for macOS to
    alt_clock_gettime and wrap all usage in preprocessor macros to only enable the
    alternative version when using macOS <= 10.11.
    
    This issue occurs when targeting macOS 10.11 or earlier but using the 10.12
    or newer SDK.
    0dfb32a2
clock.hpp 2.51 KB