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 e9eae55364bb9b64fc00861382cbe3f3d7c718fd..138db47b5cd4d11d8e70605775f76307159d2329 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;
 }