mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Fix missing ifdefs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25868 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f1e4e24f64
commit
a61f558660
2 changed files with 5 additions and 2 deletions
|
@ -43,7 +43,6 @@
|
|||
#if defined(HAVE_GNUTLS)
|
||||
#include <gnutls/gnutls.h>
|
||||
#include <gcrypt.h>
|
||||
#endif
|
||||
|
||||
/* Set up locking callbacks for gcrypt so that it will be thread-safe.
|
||||
*/
|
||||
|
@ -76,6 +75,7 @@ static struct gcry_thread_cbs gcry_threads_other = {
|
|||
gcry_mutex_lock,
|
||||
gcry_mutex_unlock
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@interface GSTLS : NSObject
|
||||
|
@ -164,7 +164,9 @@ GSTLSLog(int level, const char *msg)
|
|||
}
|
||||
|
||||
@implementation GSTLS
|
||||
#if defined(HAVE_GNUTLS)
|
||||
static gnutls_anon_client_credentials_t anoncred;
|
||||
#endif /* HAVE_GNUTLS */
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue