From: Ken Raeburn Date: Tue, 9 May 2006 20:37:49 +0000 (+0000) Subject: * threads.c (krb5int_pthread_loaded): Supply dummy version for !ENABLE_THREADS X-Git-Tag: krb5-1.5-alpha1~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=df6dfd9ef7172711fbcbace356b14288722066a5;p=krb5.git * threads.c (krb5int_pthread_loaded): Supply dummy version for !ENABLE_THREADS case. ticket: 3426 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17990 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/support/threads.c b/src/util/support/threads.c index 7dc2e4828..1ac9c6150 100644 --- a/src/util/support/threads.c +++ b/src/util/support/threads.c @@ -43,6 +43,11 @@ struct tsd_block { void *values[K5_KEY_MAX]; }; static struct tsd_block tsd_no_threads; static unsigned char destructors_set[K5_KEY_MAX]; +int krb5int_pthread_loaded (void) +{ + return 0; +} + #elif defined(_WIN32) static DWORD tls_idx;