From: Alex Rozenman Date: Sun, 2 Jun 2013 08:40:22 +0000 (+0300) Subject: Add weak stubs for pthread_cancel API. X-Git-Tag: gc7_4_0~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6ee769034470f41f6f7573127a37e0e58e2bb70;p=gc Add weak stubs for pthread_cancel API. --- diff --git a/misc.c b/misc.c index 8e2da686..007ad23e 100644 --- a/misc.c +++ b/misc.c @@ -2195,3 +2195,8 @@ GC_API int GC_CALL GC_get_force_unmap_on_gcollect(void) { return (int)GC_force_unmap_on_gcollect; } + +void __pthread_register_cancel() __attribute__ ((weak)); +void __pthread_unregister_cancel() __attribute__ ((weak)); +void __pthread_register_cancel() {} +void __pthread_unregister_cancel() {}