From 291d920395dcb192aea657b8073074b690777d4b Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Wed, 28 Oct 2020 11:16:57 +0000 Subject: [PATCH] Fix conditional inclusion guard in gthr-vxworks-thread.c This 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. 2020-10-28 Olivier Hainque libgcc/ * config/gthr-vxworks-thread.c: Fix name of macro used to condition the inclusion of an actual implementation. --- libgcc/config/gthr-vxworks-thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/gthr-vxworks-thread.c b/libgcc/config/gthr-vxworks-thread.c index c87168c2271..c8fe65f8cf3 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 #include