This change fixes the name of the macro used to condition the
inclusion of an actual implementation of some of the gthread
support services for VxWorks, to agree with the side
defining that macro based on tests against the targetted
VxWorks version major.

Tested by verifying the desired effect of having the expected
entry points available after a rebuild for the configuration where
there were missing.

Olivier

2020-10-28  Olivier Hainque  <hain...@adacore.com>

libgcc/
        * config/gthr-vxworks-thread.c: Fix name of macro used
        to condition the inclusion of an actual implementation,
        to match the defining side (__GTHREADS_CXX0X).

diff --git a/libgcc/config/gthr-vxworks-thread.c 
b/libgcc/config/gthr-vxworks-thread.c
index c87168c22711..c8fe65f8cf35 100644
--- a/libgcc/config/gthr-vxworks-thread.c
+++ b/libgcc/config/gthr-vxworks-thread.c
@@ -29,7 +29,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If 
not, see
 
 #include "gthr.h"
 
-#if __GTHREAD_CXX0X
+#if __GTHREADS_CXX0X
 
 #include <taskLib.h>
 #include <stdlib.h>
-- 
2.17.1


Reply via email to