Always define krb5int_pthread_loaded, for consistency
authorKen Raeburn <raeburn@mit.edu>
Tue, 12 Aug 2008 20:20:41 +0000 (20:20 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 12 Aug 2008 20:20:41 +0000 (20:20 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20643 dc483132-0cff-0310-8789-dd5450dbe970

src/util/support/threads.c

index 8dc9d462e1ff4b19b383edc7a76ec3f2e4c45801..b30989df1cee1188c9cd8c86098d06f94461e600 100644 (file)
@@ -171,6 +171,10 @@ int krb5int_pthread_loaded (void)
 static struct tsd_block tsd_if_single;
 # define GET_NO_PTHREAD_TSD()  (&tsd_if_single)
 #else
+int krb5int_pthread_loaded (void)
+{
+    return 1;
+}
 # define GET_NO_PTHREAD_TSD()  (abort(),(struct tsd_block *)0)
 #endif