From: Nicholas Clark Date: Wed, 6 Apr 2005 14:36:40 +0000 (+0000) Subject: If we're going to prototype modfl(), it needs extern "C" linkage. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a221a8a55f0bbb6b52da5c544e7bc886f16754e8;p=p5sagit%2Fp5-mst-13.2.git If we're going to prototype modfl(), it needs extern "C" linkage. p4raw-id: //depot/perl@24174 --- diff --git a/perl.h b/perl.h index 410846e..84d73fc 100644 --- a/perl.h +++ b/perl.h @@ -1531,7 +1531,7 @@ typedef NVTYPE NV; /* eg glibc 2.2 series seems to provide modfl on ppc and arm, but has no prototype in */ # ifndef HAS_MODFL_PROTO -long double modfl(long double, long double *); +EXTERN_C long double modfl(long double, long double *); # endif # else # if defined(HAS_AINTL) && defined(HAS_COPYSIGNL)