Problem: clock_gettime is now defined in macOS 10.12 SDK
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.
Showing
Please
register
or
sign in
to comment