From: Olivier Hainque Date: Wed, 28 Oct 2020 11:16:57 +0000 (+0000) Subject: Fix conditional inclusion guard in gthr-vxworks-thread.c X-Git-Tag: basepoints/gcc-12~3736 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=291d920395dcb192aea657b8073074b690777d4b;p=thirdparty%2Fgcc.git 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. --- 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 #include