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:
@@ -35,7 +35,9 @@
|
|||||||
|
|
||||||
# include "PartitionMap.h"
|
# include "PartitionMap.h"
|
||||||
# include "PartitionMapParser.h"
|
# include "PartitionMapParser.h"
|
||||||
#elif HAIKU_HOST_PLATFORM_HAIKU
|
#endif
|
||||||
|
|
||||||
|
#ifdef __HAIKU__
|
||||||
# include <image.h>
|
# include <image.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -228,7 +230,7 @@ main(int argc, const char *const *argv)
|
|||||||
|
|
||||||
// read the boot code
|
// read the boot code
|
||||||
uint8 *bootCodeData = NULL;
|
uint8 *bootCodeData = NULL;
|
||||||
#ifndef HAIKU_HOST_PLATFORM_HAIKU
|
#ifndef __HAIKU__
|
||||||
bootCodeData = read_boot_code_data(argv[0]);
|
bootCodeData = read_boot_code_data(argv[0]);
|
||||||
#else
|
#else
|
||||||
image_info info;
|
image_info info;
|
||||||
|
|||||||
Reference in New Issue
Block a user