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:
rfm 2008-01-05 15:52:18 +00:00
parent f1e4e24f64
commit a61f558660
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,8 @@
2008-01-05 Richard Frith-Macdonald <rfm@gnu.org> 2008-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* config\pathtls.m4: fixup form mingw32 * config/pathtls.m4: fixup form mingw32
* configure: regenerate * configure: regenerate
* Source/GSSocketStream.m: Fix missing isfeds
2008-01-04 Riccardo Mottola <riccardo@kaffe.org> 2008-01-04 Riccardo Mottola <riccardo@kaffe.org>
* Source/NSKeyValueObserving.m: fixed cc99ism * Source/NSKeyValueObserving.m: fixed cc99ism

View file

@ -43,7 +43,6 @@
#if defined(HAVE_GNUTLS) #if defined(HAVE_GNUTLS)
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#include <gcrypt.h> #include <gcrypt.h>
#endif
/* Set up locking callbacks for gcrypt so that it will be thread-safe. /* 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_lock,
gcry_mutex_unlock gcry_mutex_unlock
}; };
#endif
@interface GSTLS : NSObject @interface GSTLS : NSObject
@ -164,7 +164,9 @@ GSTLSLog(int level, const char *msg)
} }
@implementation GSTLS @implementation GSTLS
#if defined(HAVE_GNUTLS)
static gnutls_anon_client_credentials_t anoncred; static gnutls_anon_client_credentials_t anoncred;
#endif /* HAVE_GNUTLS */
+ (void) initialize + (void) initialize
{ {