From 74a366707fd27fa6590d0e6e22aebfa339b4b5c7 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 25 Jan 2009 21:28:43 +0000 Subject: [PATCH] When linking against libgcc already don't include these symbols. Otherwise we get multiple definitions of them when building with GCC4 on a GCC4 host. With that we can now build completely on a GCC4 host with native GCC 4.3.3. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29020 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/util/kernel_cpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/util/kernel_cpp.cpp b/src/system/kernel/util/kernel_cpp.cpp index adfd45c7f3..cdeffeb62f 100644 --- a/src/system/kernel/util/kernel_cpp.cpp +++ b/src/system/kernel/util/kernel_cpp.cpp @@ -119,7 +119,7 @@ puts(const char *string) #endif // __GNUC__ >= 3 -#if __GNUC__ >= 4 +#if __GNUC__ >= 4 && !defined(USING_LIBGCC) extern "C" void