mapi: Fix a warning in !THREADS build.
authorChia-I Wu <olv@lunarg.com>
Sun, 12 Dec 2010 09:56:49 +0000 (17:56 +0800)
committerChia-I Wu <olv@lunarg.com>
Sun, 12 Dec 2010 09:59:47 +0000 (17:59 +0800)
It should be u_thread_self, not _glthread_GetID.

src/mapi/mapi/u_thread.c

index e9eae55..138db47 100644 (file)
@@ -222,7 +222,7 @@ u_tsd_set(struct u_tsd *tsd, void *ptr)
  */
 
 unsigned long
-_glthread_GetID(void)
+u_thread_self(void)
 {
    return 0;
 }