From 4d74cda31c9bafd7051a8b8fe26b200473e2ec46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 20 Dec 2004 13:52:57 +0000 Subject: [PATCH] __HAIKU__ is now always defined for the kernel build rules. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10505 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jamrules b/Jamrules index 28b7d37170..8157e68085 100644 --- a/Jamrules +++ b/Jamrules @@ -179,10 +179,10 @@ if $(WARNINGS) = 1 { # standard kernel C/C++ flags KERNEL_CCFLAGS ?= -Wall -Wno-multichar -Wmissing-prototypes -finline -nostdinc ; -KERNEL_CCFLAGS += -fno-builtin -D$(OBOS_TARGET_DEFINE) ; +KERNEL_CCFLAGS += -fno-builtin -D$(OBOS_TARGET_DEFINE) -D__HAIKU__ ; KERNEL_CCFLAGS += -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) -D_KERNEL_MODE ; KERNEL_C++FLAGS ?= -Wall -Wno-multichar -Wmissing-prototypes -finline -nostdinc ; -KERNEL_C++FLAGS += -fno-builtin -fno-exceptions -D$(OBOS_TARGET_DEFINE) ; +KERNEL_C++FLAGS += -fno-builtin -fno-exceptions -D$(OBOS_TARGET_DEFINE) -D__HAIKU__ ; KERNEL_C++FLAGS += -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) -D_KERNEL_MODE ; if $(GCC_VERSION[1]) >= 3 { KERNEL_C++FLAGS += -fno-use-cxa-atexit ;