diff --git a/headers/build/HaikuBuildCompatibility.h b/headers/build/HaikuBuildCompatibility.h index 7302450038..4920e83b60 100644 --- a/headers/build/HaikuBuildCompatibility.h +++ b/headers/build/HaikuBuildCompatibility.h @@ -129,7 +129,7 @@ extern float roundf(float value); # define B_TRANSLATION_MAJOR_VERSION(v) (v >> 8) # define B_TRANSLATION_MINOR_VERSION(v) ((v >> 4) & 0xf) # define B_TRANSLATION_REVISION_VERSION(v) (v & 0xf) -# ifndef HAIKU_HOST_PLATFORM_DANO +# ifndef USING_HAIKU_TYPE_CONSTANTS_H # define B_LARGE_ICON_TYPE 'ICON' # define B_MINI_ICON_TYPE 'MICN' # define B_VECTOR_ICON_TYPE 'VICN' diff --git a/src/build/libhaikucompat/Jamfile b/src/build/libhaikucompat/Jamfile index f0a46096d3..8b880df2e6 100644 --- a/src/build/libhaikucompat/Jamfile +++ b/src/build/libhaikucompat/Jamfile @@ -26,7 +26,8 @@ if $(HOST_PLATFORM) in r5 bone dano { ObjectSysHdrs $(libbePatchSources) : [ FDirName $(HAIKU_TOP) headers build os storage ] ; if $(HOST_PLATFORM) = dano { - ObjectDefines $(libbePatchSources) : _IMPEXP_BE= ; + ObjectDefines $(libbePatchSources) : _IMPEXP_BE= + USING_HAIKU_TYPE_CONSTANTS_H= ; } ObjectC++Flags $(libbePatchSources) : -include [ FDirName $(HAIKU_TOP) headers build