From 23e4635d17709e4159f245f8363345c8dd1307ca Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Tue, 1 Dec 2009 15:51:41 +0000 Subject: [PATCH] Added VX_GNU_VERSION_6.7 definition. For v6.7, added "-DBSD=44" to get correct network interface structure. --- configure/os/CONFIG.Common.vxWorksCommon | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure/os/CONFIG.Common.vxWorksCommon b/configure/os/CONFIG.Common.vxWorksCommon index 6948f138e..faa215908 100644 --- a/configure/os/CONFIG.Common.vxWorksCommon +++ b/configure/os/CONFIG.Common.vxWorksCommon @@ -91,6 +91,7 @@ VX_GNU_VERSION_6.3 = 3.4.4 VX_GNU_VERSION_6.4 = 3.4.4 VX_GNU_VERSION_6.5 = 3.4.4 VX_GNU_VERSION_6.6 = 4.1.2 +VX_GNU_VERSION_6.7 = 4.1.2 VX_GNU_VERSION = $(VX_GNU_VERSION_$(VXWORKS_VERSION)) VX_GNU_MAJOR_VERSION = $(basename $(basename $(VX_GNU_VERSION))) @@ -149,8 +150,10 @@ export TOOL_FAMILY = GNU #-------------------------------------------------- # Operating system flags -OP_SYS_CPPFLAGS += -DvxWorks -OP_SYS_CFLAGS += -fno-builtin +BSD_DEFINE_VERSION_6.7 = -DBSD=44 +OP_BSD_DEFINE = $(BSD_DEFINE_VERSION_$(VXWORKS_VERSION)) +OP_SYS_CPPFLAGS += -DvxWorks $(OP_BSD_DEFINE) +OP_SYS_CFLAGS += -fno-builtin $(OP_BSD_DEFINE) # Fix for vxWorks headers that use macros defined in vxWorks.h but # which don't actually include vxWorks.h themselves, for example the