]> git.draconx.ca Git - cdecl99.git/blobdiff - src/thread-posix.h
libcdecl: Mark pthread_once as weak when needed.
[cdecl99.git] / src / thread-posix.h
index 22378ed9ef17f85762877a27bd8990daf94e6e24..42b7d9dc5c5432b11905f4dbf2b009e2af4b846b 100644 (file)
@@ -56,6 +56,7 @@ extern int glthread_in_use();
 #  pragma weak pthread_key_create
 #  pragma weak pthread_getspecific
 #  pragma weak pthread_setspecific
+#  pragma weak pthread_once
 #endif
 
 static struct {