This fixes the incorrect inclusion of our stdio.h header - it will now include
the platform native stdio.h on BeOS and Linux. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3657 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
SubDir OBOS_TOP src tests kernel boot heap ;
|
||||
|
||||
UsePrivateHeaders kernel ;
|
||||
# this makes the wrong stdio.h header accessible
|
||||
# current work-around to let the test build
|
||||
# under the build platform is to remove the
|
||||
# private/kernel/stdio.h file.
|
||||
# This will be fixed with the move to GNU's stdio header
|
||||
|
||||
SubDirHdrs $(OBOS_TOP) headers private kernel arch $(OBOS_ARCH) ;
|
||||
SubDirHdrs $(OBOS_TOP) headers private kernel boot platform $(OBOS_BOOT_PLATFORM) ;
|
||||
|
||||
ObjectDefines heap.cpp : malloc=heap_malloc free=heap_free ;
|
||||
|
||||
# This lets the correct stdio.h header be available
|
||||
# on the build platform.
|
||||
# This will be fixed with the move to GNU's stdio header
|
||||
if $(OS) = "LINUX" {
|
||||
SubDirC++Flags -include /usr/include/stdio.h ;
|
||||
} else {
|
||||
SubDirC++Flags -include /boot/develop/headers/posix/stdio.h ;
|
||||
}
|
||||
|
||||
BuildPlatformTest heapTest :
|
||||
heapTest.cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user