Add stub for krb5int_pthread_loaded() for Windows
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 28 Jul 2005 23:41:16 +0000 (23:41 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 28 Jul 2005 23:41:16 +0000 (23:41 +0000)
ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17323 dc483132-0cff-0310-8789-dd5450dbe970

src/util/support/ChangeLog
src/util/support/threads.c

index eae47fc66c42767f55e1d525cd0ab356beebf65b..3da2ded6fe8bb062a2d969cfbd06778b58fa3467 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-28  Jeffrey Altman <jaltman@mit.edu>
+
+        * threads.c: Stub krb5int_pthread_loaded added for Windows
+        to prevent export errors.
+
 2005-05-31  Ken Raeburn  <raeburn@mit.edu>
 
        * threads.c [HAVE_PRAGMA_WEAK_REF]: Declare
index d07b6ffff324530c350f79831e701f5670f8571b..8a00e4c2bd7feabdf17b557a931862f24363a01f 100644 (file)
@@ -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