Added __HAIKU__ for target libbe_test.

Fixed FreeBSD host platform define.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16094 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-01-25 23:55:14 +00:00
parent 18505d40c2
commit f9cf8b6073

View File

@ -577,7 +577,7 @@ switch $(HOST_PLATFORM) {
case dano : HOST_DEFINES += HAIKU_HOST_PLATFORM_DANO ;
case haiku : HOST_DEFINES += HAIKU_HOST_PLATFORM_HAIKU ;
case linux : HOST_DEFINES += HAIKU_HOST_PLATFORM_LINUX ;
case freebsd : HOST_DEFINES += HAIKU_TARGET_PLATFORM_FREEBSD ;
case freebsd : HOST_DEFINES += HAIKU_HOST_PLATFORM_FREEBSD ;
}
@ -593,6 +593,7 @@ if $(TARGET_PLATFORM) = libbe_test {
HaikuBuildCompatibility.h ] ;
TARGET_CCFLAGS += $(compatibilityHeader) ;
TARGET_C++FLAGS += $(compatibilityHeader) ;
TARGET_DEFINES += __HAIKU__ ;
# compatibility library
TARGET_HAIKU_COMPATIBILITY_LIBS = libhaikucompat.a ;