From d0423738d178ecdd73b082b842799edf4a1c86d2 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 10 Jun 2011 10:14:40 -0500 Subject: [PATCH] configure: Make the vxWorks macro expand to itself This fixes a problem in .st sequence programs that do this: %%#include The pre-processor was replacing the token since the line is not a pre-processor directive (yet) and it doesn't appear inside "quotes". NB: This will break any code that is incorrectly using #if vxWorks instead of #ifdef vxWorks --- configure/os/CONFIG.Common.vxWorksCommon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure/os/CONFIG.Common.vxWorksCommon b/configure/os/CONFIG.Common.vxWorksCommon index e1adbe8f6..2203d276d 100644 --- a/configure/os/CONFIG.Common.vxWorksCommon +++ b/configure/os/CONFIG.Common.vxWorksCommon @@ -159,7 +159,7 @@ export TOOL_FAMILY = GNU #-------------------------------------------------- # Operating system flags -OP_SYS_CPPFLAGS += -DvxWorks +OP_SYS_CPPFLAGS += -DvxWorks=vxWorks OP_SYS_CFLAGS += -fno-builtin # Fix for vxWorks 5 headers that use macros defined in vxWorks.h but