Fix conditional inclusion guard in gthr-vxworks-thread.c
authorOlivier Hainque <hainque@adacore.com>
Wed, 28 Oct 2020 11:16:57 +0000 (11:16 +0000)
committerOlivier Hainque <hainque@adacore.com>
Thu, 29 Oct 2020 10:59:11 +0000 (10:59 +0000)
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  <hainque@adacore.com>

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

index c87168c22711bc3dbc3c0a726b965363a8e700aa..c8fe65f8cf35477981e10d9267122cf705b20aa7 100644 (file)
@@ -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>