diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-04-05 19:46:05 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-04-11 21:08:42 +0200 |
commit | bb0b10135caf58f82ee9e9d38f400880a7e5c9cc (patch) | |
tree | eea3b89cf89e62cde55060f85baebe5db1c50384 /src/tool_metalink.c | |
parent | d250ed4753b74889fb699a9ee638d7d2e48c2b01 (diff) |
polarssl_threadlock: remove conditionally unused code
Make functions no-ops if neither both USE_THREADS_POSIX and
HAVE_PTHREAD_H nor both USE_THREADS_WIN32 and HAVE_PROCESS_H are
defined. Previously, if only one of them was defined, there was either
code compiled that did nothing useful or the wrong header included for
the functions used.
Also, move POLARSSL_MUTEX_T define to implementation file as it's not
used externally.
Closes https://github.com/curl/curl/pull/3739
Diffstat (limited to 'src/tool_metalink.c')
0 files changed, 0 insertions, 0 deletions