diff options
author | Brent Cook <busterb@gmail.com> | 2018-03-22 20:50:24 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2018-03-22 21:04:43 -0500 |
commit | 987aa6a084312be8501bdda42b0e5aab3b84d52a (patch) | |
tree | 9c3cf68f0ca3cb172d5d2238563c979b29543d08 /apps/openssl/Makefile.am | |
parent | 78600e9bec2b52f0f8a0f7ce376f3783999bb824 (diff) | |
download | portable-987aa6a084312be8501bdda42b0e5aab3b84d52a.tar.gz portable-987aa6a084312be8501bdda42b0e5aab3b84d52a.tar.bz2 portable-987aa6a084312be8501bdda42b0e5aab3b84d52a.zip |
add clock_gettime for macos 10.11 and earlier
Diffstat (limited to 'apps/openssl/Makefile.am')
-rw-r--r-- | apps/openssl/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/openssl/Makefile.am b/apps/openssl/Makefile.am index 9b9eb10..f100adb 100644 --- a/apps/openssl/Makefile.am +++ b/apps/openssl/Makefile.am | |||
@@ -74,6 +74,12 @@ openssl_SOURCES += compat/poll_win.c | |||
74 | endif | 74 | endif |
75 | endif | 75 | endif |
76 | 76 | ||
77 | if !HAVE_CLOCK_GETTIME | ||
78 | if HOST_DARWIN | ||
79 | openssl_SOURCES += compat/clock_gettime_osx.c | ||
80 | endif | ||
81 | endif | ||
82 | |||
77 | if !HAVE_STRTONUM | 83 | if !HAVE_STRTONUM |
78 | openssl_SOURCES += compat/strtonum.c | 84 | openssl_SOURCES += compat/strtonum.c |
79 | endif | 85 | endif |