mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
16fcbd21c9
Apple is supposed to decorate their function declarations with macros to indicate which OSX version introduced them, so that you can tell the compiler that you want to build against certain versions of OSX. But they forgot to do that for clock_gettime() and getentropy(), both of which they introduced in 10.12. This patch adds a kludge to the configure.ac script where, if we detect that we are targeting OSX 10.11 or earlier, we don't even probe to see if the two offending functions are present. Closes ticket 20235.
5 lines
192 B
Plaintext
5 lines
192 B
Plaintext
o Minor features (compatibility):
|
|
- Work around a bug in the OSX 10.12 SDK that would prevent us
|
|
from successfully targetting earlier versions of OSX.
|
|
Resolves ticket 20235.
|