From a6ee769034470f41f6f7573127a37e0e58e2bb70 Mon Sep 17 00:00:00 2001 From: Alex Rozenman Date: Sun, 2 Jun 2013 11:40:22 +0300 Subject: [PATCH] Add weak stubs for pthread_cancel API. --- misc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc.c b/misc.c index 8e2da68..007ad23 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() {} -- 2.7.4