vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define _VX_TOOL_FAMILY and _VX_TOOL...
authorJerome Lambourg <lambourg@adacore.com>
Mon, 26 Jun 2017 15:17:44 +0000 (15:17 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 26 Jun 2017 15:17:44 +0000 (15:17 +0000)
2017-06-26  Jerome Lambourg  <lambourg@adacore.com>

* config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define
_VX_TOOL_FAMILY and _VX_TOOL to gnu.

From-SVN: r249656

gcc/ChangeLog
gcc/config/vxworks.h

index 96a0f5c5580f8651be134b565bfd03be6ab4e1d6..688df0d8c74a7d739a956cfee4e8ddbdfc5c9580 100644 (file)
@@ -1,5 +1,10 @@
 gcc/ChangeLog:
 
+2017-06-26  Jerome Lambourg  <lambourg@adacore.com>
+
+       * config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define
+       _VX_TOOL_FAMILY and _VX_TOOL to gnu.
+
 2017-06-26  Carl Love  <cel@us.ibm.com>
 
        * config/rs6000/rs6000-c.c: Add support for built-in functions
index 8a18aff4d783338254db4d2d77170479e2a6f7fe..d16c84d4259aa36f05df1348334ae2b166cdce4a 100644 (file)
@@ -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)