From 48096634af19d269e1e2df117fbaa34c74daaf36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 22 Aug 2006 20:48:12 +0000 Subject: [PATCH] Enabled private BeOS syscalls for the build with GCC 4 as well for now, until this issue has been solved in the code that needs them (which is the same as the PPC version also does at this time). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18570 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/os/arch/x86/compatibility.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/system/libroot/os/arch/x86/compatibility.c b/src/system/libroot/os/arch/x86/compatibility.c index 99bf544a52..0546faec49 100644 --- a/src/system/libroot/os/arch/x86/compatibility.c +++ b/src/system/libroot/os/arch/x86/compatibility.c @@ -3,7 +3,10 @@ * Distributed under the terms of the MIT License. */ -#if __GNUC__ < 3 +// TODO: temporary measurement to fix the build with GCC 4 - in the end, these +// private syscalls shouldn't be used anywhere in the Haiku tree, at the very +// least they should only be used when compiling for GCC 2.95.3, though. +#if __GNUC__ < 30 // This file includes some known R5 syscalls // ToDo: maybe they should indeed do something...