From: Jeffrey Altman Date: Thu, 28 Jul 2005 23:41:16 +0000 (+0000) Subject: Add stub for krb5int_pthread_loaded() for Windows X-Git-Tag: ms-bug-test-20060525~181 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c92c632e0425e54611b4107e8b24046edfa9c26;p=krb5.git Add stub for krb5int_pthread_loaded() for Windows ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17323 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/support/ChangeLog b/src/util/support/ChangeLog index eae47fc66..3da2ded6f 100644 --- a/src/util/support/ChangeLog +++ b/src/util/support/ChangeLog @@ -1,3 +1,8 @@ +2005-07-28 Jeffrey Altman + + * threads.c: Stub krb5int_pthread_loaded added for Windows + to prevent export errors. + 2005-05-31 Ken Raeburn * threads.c [HAVE_PRAGMA_WEAK_REF]: Declare diff --git a/src/util/support/threads.c b/src/util/support/threads.c index d07b6ffff..8a00e4c2b 100644 --- a/src/util/support/threads.c +++ b/src/util/support/threads.c @@ -76,6 +76,11 @@ void krb5int_thread_detach_hook (void) } } +/* Stub function not used on Windows. */ +int krb5int_pthread_loaded (void) +{ + return 0; +} #else /* POSIX threads */ /* Must support register/delete/register sequence, e.g., if krb5 is