aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2020-10-28 11:16:57 +0000
committerOlivier Hainque <hainque@adacore.com>2020-10-29 10:59:11 +0000
commit291d920395dcb192aea657b8073074b690777d4b (patch)
treeae78202f65719276e17262c4c5608644bd83b457
parentbafcf452c79da54dd0b96764990d11b64f5df03b (diff)
downloadgcc-291d920395dcb192aea657b8073074b690777d4b.zip
gcc-291d920395dcb192aea657b8073074b690777d4b.tar.gz
gcc-291d920395dcb192aea657b8073074b690777d4b.tar.bz2
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 <hainque@adacore.com> libgcc/ * config/gthr-vxworks-thread.c: Fix name of macro used to condition the inclusion of an actual implementation.
-rw-r--r--libgcc/config/gthr-vxworks-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/gthr-vxworks-thread.c b/libgcc/config/gthr-vxworks-thread.c
index c87168c..c8fe65f 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>