mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:14:49 +02:00
Fix the logic conditioning VX_ENTER/LEAVE_TLS_DTOR
Fix a basic #if/#ifdef confusion which leads to improper choices in some configurations. 2020-10-28 Olivier Hainque <hainque@adacore.com> libgcc/ * config/gthr-vxworks-tls.c: Fix preprocessor logic controlling the definition of VX_ENTER_TLS_DTOR and VX_LEAVE_TLS_DTOR based on a version major check.
This commit is contained in:
@@ -115,7 +115,7 @@ extern void __gthread_set_tls_data (void *data);
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef _VXWORKS_MAJOR_EQ(6)
|
||||
#if _VXWORKS_MAJOR_EQ(6)
|
||||
|
||||
extern void __gthread_enter_tls_dtor_context (void);
|
||||
extern void __gthread_leave_tls_dtor_context (void);
|
||||
|
||||
Reference in New Issue
Block a user