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
This commit is contained in:
Ingo Weinhold 2009-11-26 10:14:21 +00:00
parent 5155f7ac75
commit 0bab2e8af4
2 changed files with 7 additions and 3 deletions

View File

@ -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 =

View File

@ -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 ;