From 0ffdc300784ca80b28639f6d276b48a3dc6138b1 Mon Sep 17 00:00:00 2001 From: Jerome Lambourg Date: Mon, 26 Jun 2017 15:17:44 +0000 Subject: [PATCH] vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define _VX_TOOL_FAMILY and _VX_TOOL to gnu. 2017-06-26 Jerome Lambourg * config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define _VX_TOOL_FAMILY and _VX_TOOL to gnu. From-SVN: r249656 --- gcc/ChangeLog | 5 +++++ gcc/config/vxworks.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96a0f5c5580..688df0d8c74 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ gcc/ChangeLog: +2017-06-26 Jerome Lambourg + + * config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define + _VX_TOOL_FAMILY and _VX_TOOL to gnu. + 2017-06-26 Carl Love * config/rs6000/rs6000-c.c: Add support for built-in functions diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h index 8a18aff4d78..d16c84d4259 100644 --- a/gcc/config/vxworks.h +++ b/gcc/config/vxworks.h @@ -131,6 +131,8 @@ extern void vxworks_asm_out_destructor (rtx symbol, int priority); builtin_define ("__RTP__"); \ else \ builtin_define ("_WRS_KERNEL"); \ + builtin_define ("_VX_TOOL_FAMILY=gnu"); \ + builtin_define ("_VX_TOOL=gnu"); \ } \ while (0) -- 2.30.2