diff options
author | Vicent Marti <vicent@github.com> | 2014-08-07 18:00:57 +0200 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2014-08-07 18:00:57 +0200 |
commit | 8f759ac0b373eea9dcec680524a68a527d637937 (patch) | |
tree | 99ca32351711018c855ac06e3859c5be9ed86ea5 /src/global.c | |
parent | e0af2517bf9055441cfa34c45087c0ee9defe7e9 (diff) | |
parent | 07d03d31456899a39f97425a3d09903d7a54ed3f (diff) | |
download | libgit2-8f759ac0b373eea9dcec680524a68a527d637937.tar.gz |
Merge pull request #2471 from jacquesg/compatibility-cleanup
Compatibility/Portability cleanup
Diffstat (limited to 'src/global.c')
-rw-r--r-- | src/global.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global.c b/src/global.c index c72bfe890..f89c73256 100644 --- a/src/global.c +++ b/src/global.c @@ -19,7 +19,9 @@ git_mutex git__mwindow_mutex; #ifdef GIT_SSL # include <openssl/ssl.h> SSL_CTX *git__ssl_ctx; +# ifdef GIT_THREADS static git_mutex *openssl_locks; +# endif #endif static git_global_shutdown_fn git__shutdown_callbacks[MAX_SHUTDOWN_CB]; |