Parcourir la source

nptl: fix use of IS_IN_LIBPTHREAD macro

IS_IN_LIBPTHREAD should be IS_IN_libpthread instead.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso il y a 13 ans
Parent
commit
37525c04e4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      libpthread/nptl/unwind.c

+ 1 - 1
libpthread/nptl/unwind.c

@@ -117,7 +117,7 @@ unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
 void
 void
 attribute_protected
 attribute_protected
 __cleanup_fct_attribute __attribute ((noreturn))
 __cleanup_fct_attribute __attribute ((noreturn))
-#if !defined SHARED && !defined IS_IN_LIBPTHREAD
+#if !defined SHARED && !defined IS_IN_libpthread
 weak_function
 weak_function
 #endif
 #endif
 __pthread_unwind (__pthread_unwind_buf_t *buf)
 __pthread_unwind (__pthread_unwind_buf_t *buf)