diff --git a/libgcc/gthr-os2.h b/libgcc/gthr-os2.h index 79228cd8f..36820fcad 100644 --- a/libgcc/gthr-os2.h +++ b/libgcc/gthr-os2.h @@ -184,6 +184,12 @@ __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *mutex) return 0; } +static inline int +__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) +{ + return 0; +} + static inline int __gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) { diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 5acf79cba..ef4aeb2bc 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -15420,6 +15420,7 @@ case $target_thread_file in dce) thread_header=config/pa/gthr-dce.h ;; lynx) thread_header=config/gthr-lynx.h ;; mipssde) thread_header=config/mips/gthr-mipssde.h ;; + os2) thread_header=gthr-os2.h ;; posix) thread_header=gthr-posix.h ;; rtems) thread_header=config/gthr-rtems.h ;; single) thread_header=gthr-single.h ;;