From 9cb421d3753042df202c59c91bf5f930f08d97e1 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Thu, 3 Aug 2006 16:37:48 +0000 Subject: [PATCH] Confined a couple of Haiku-only command-line apps to just Haiku builds Tweaked a cast in listarea to permit R5 building git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18370 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/Jamfile | 10 ++++++++-- src/bin/listarea.c | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/bin/Jamfile b/src/bin/Jamfile index 8c0cb894e0..1f8558207c 100644 --- a/src/bin/Jamfile +++ b/src/bin/Jamfile @@ -12,7 +12,6 @@ AddResources hey : hey.rdef ; # standard commands that don't need any additional library StdBinCommands - boot_process_done.cpp catattr.cpp chop.c clear.c @@ -22,7 +21,6 @@ StdBinCommands # echo.c eject.c error.c - fdinfo.cpp fortune.c finddir.c hd.c @@ -51,6 +49,14 @@ StdBinCommands # whoami.c ; +# Haiku-only commands which don't need another library +if $(TARGET_PLATFORM) != haiku { +StdBinCommands + boot_process_done.cpp + fdinfo.cpp + ; +} + # standard commands that need libtermcap.a StdBinCommands top.c diff --git a/src/bin/listarea.c b/src/bin/listarea.c index 7fa71dd8d2..00ab99bfd5 100644 --- a/src/bin/listarea.c +++ b/src/bin/listarea.c @@ -59,7 +59,8 @@ list_areas_for_id(team_id id) printf("%5ld %32s %08lx %8lx %8lx %5ld %5ld %5ld\n", areaInfo.area, areaInfo.name, - (addr_t)areaInfo.address, +// (addr_t)areaInfo.address, + (uint32)areaInfo.address, areaInfo.size, areaInfo.ram_size, areaInfo.copy_count,