From 2abad45e2d11501447283c67b8db3100ad97771c Mon Sep 17 00:00:00 2001 From: beveloper Date: Sat, 12 Jun 2004 22:09:38 +0000 Subject: [PATCH] Allow compiling unit tests on Zeta. Instead of fixing the PostMessage() issues, they deprecated that nice function. This will enable it again. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7937 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jamrules b/Jamrules index 94b9dd2212..33231f6ca5 100644 --- a/Jamrules +++ b/Jamrules @@ -74,6 +74,10 @@ PLATFORM_DEFAULT_HEADERS = $(HDRS) ; CCFLAGS += -nostdinc ; C++FLAGS += -nostdinc ; +# Allow compiling unit tests on Zeta. Instead of fixing the PostMessage() +# issues, they deprecated that nice function. This will enable it again: +C++FLAGS += -D_ZETA_USING_DEPRECATED_API_=1 ; + # Determine if we're building on PPC or x86 # Determine mimetype of executable # Cross compiling can come later