Use __HAIKU__ instead of HAIKU_HOST_PLATFORM_HAIKU since apparently the latter doesn't get defined when cross compiling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26989 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
99b25014bb
commit
6296f36bc3
@ -35,7 +35,9 @@
|
||||
|
||||
# include "PartitionMap.h"
|
||||
# include "PartitionMapParser.h"
|
||||
#elif HAIKU_HOST_PLATFORM_HAIKU
|
||||
#endif
|
||||
|
||||
#ifdef __HAIKU__
|
||||
# include <image.h>
|
||||
#endif
|
||||
|
||||
@ -228,7 +230,7 @@ main(int argc, const char *const *argv)
|
||||
|
||||
// read the boot code
|
||||
uint8 *bootCodeData = NULL;
|
||||
#ifndef HAIKU_HOST_PLATFORM_HAIKU
|
||||
#ifndef __HAIKU__
|
||||
bootCodeData = read_boot_code_data(argv[0]);
|
||||
#else
|
||||
image_info info;
|
||||
|
Loading…
Reference in New Issue
Block a user