From 0bab2e8af473755eabe8e994a7b7b88d32fca7fa Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 26 Nov 2009 10:14:21 +0000 Subject: [PATCH] Don't include HaikuBuildCompatibility.h in the [b]fs_shell build. It's not needed -- the code has its own complete platform abstraction layer -- and only causes problems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34270 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/bfs_shell/Jamfile | 3 +++ src/tools/fs_shell/Jamfile | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/tools/bfs_shell/Jamfile b/src/tools/bfs_shell/Jamfile index 83fbf51cbd..069b776e40 100644 --- a/src/tools/bfs_shell/Jamfile +++ b/src/tools/bfs_shell/Jamfile @@ -2,6 +2,9 @@ SubDir HAIKU_TOP src tools bfs_shell ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ; +# prevent inclusion of HaikuBuildCompatibility.h +DEFINES += HAIKU_BUILD_COMPATIBILITY_H ; + # set some additional defines { local defines = diff --git a/src/tools/fs_shell/Jamfile b/src/tools/fs_shell/Jamfile index 0c9f386e2e..ba4b2568cf 100644 --- a/src/tools/fs_shell/Jamfile +++ b/src/tools/fs_shell/Jamfile @@ -14,9 +14,10 @@ if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) { UsePrivateHeaders fs_shell ; UsePrivateHeaders shared ; -local defines = [ FDefines FS_SHELL=1 ] ; -SubDirCcFlags $(defines) ; -SubDirC++Flags $(defines) ; +DEFINES += FS_SHELL=1 ; + +# prevent inclusion of HaikuBuildCompatibility.h +DEFINES += HAIKU_BUILD_COMPATIBILITY_H ; # platform specific sources/libraries local fsShellCommandSources ;