From d67f94ca9dc693a2734456fa13111d2036bc7297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Thu, 10 Mar 2005 19:56:11 +0000 Subject: [PATCH] commented out hypot prototype : it conflicts with glibc signature when building libstdc++ which uses glibc headers zooey agreed when discussing this (and we hope this don't break anything) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11660 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/cpp/std/complext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/cpp/std/complext.h b/headers/cpp/std/complext.h index 6c55037bf9..d3eb98a2f9 100644 --- a/headers/cpp/std/complext.h +++ b/headers/cpp/std/complext.h @@ -311,7 +311,7 @@ operator != (_FLT x, const complex<_FLT>& y) } // Some targets don't provide a prototype for hypot when -ansi. -extern "C" double hypot (double, double) __attribute__ ((const)); +//extern "C" double hypot (double, double) __attribute__ ((const)); template inline _FLT abs (const complex<_FLT>& x) __attribute__ ((const));