IS_IN_LIBPTHREAD should be IS_IN_libpthread instead. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
@@ -117,7 +117,7 @@ unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
void
attribute_protected
__cleanup_fct_attribute __attribute ((noreturn))
-#if !defined SHARED && !defined IS_IN_LIBPTHREAD
+#if !defined SHARED && !defined IS_IN_libpthread
weak_function
#endif
__pthread_unwind (__pthread_unwind_buf_t *buf)