Use the fstat() wrapper only on non-BeOS systems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11571 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -50,13 +50,19 @@ SetupIncludes ;
|
|||||||
malloc_debug_flags = -fcheck-memory-usage ;
|
malloc_debug_flags = -fcheck-memory-usage ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# We need to use a wrapper for fstat() on non-BeOS systems.
|
||||||
|
local buildPlatformFstatDefines ;
|
||||||
|
if $(OS) != BEOS {
|
||||||
|
buildPlatformFstatDefines = build_platform_fstat=fs_shell_fstat ;
|
||||||
|
}
|
||||||
|
|
||||||
local defines = [ FDefines USER
|
local defines = [ FDefines USER
|
||||||
#DEBUG
|
#DEBUG
|
||||||
USED_IN_FS_SHELL NO_FILE_UNCACHED_IO
|
USED_IN_FS_SHELL NO_FILE_UNCACHED_IO
|
||||||
UNSAFE_GET_VNODE
|
UNSAFE_GET_VNODE
|
||||||
#BFS_BIG_ENDIAN_ONLY
|
#BFS_BIG_ENDIAN_ONLY
|
||||||
$(malloc_debug_defines)
|
$(malloc_debug_defines)
|
||||||
build_platform_fstat=fs_shell_fstat
|
$(buildPlatformFstatDefines)
|
||||||
] ;
|
] ;
|
||||||
SubDirCcFlags $(defines) $(malloc_debug_flags) ;
|
SubDirCcFlags $(defines) $(malloc_debug_flags) ;
|
||||||
SubDirC++Flags $(defines) -fno-exceptions -fno-rtti $(malloc_debug_flags)
|
SubDirC++Flags $(defines) -fno-exceptions -fno-rtti $(malloc_debug_flags)
|
||||||
|
|||||||
Reference in New Issue
Block a user