[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/kdewin32/src/math
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2007-12-11 11:56:21
Message-ID: 1197374181.226582.4104.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 747223 by staniek:

a fix for msvc 2k3: STDC style of declaration for erff() and erfcf()


 M  +2 -2      sf_erf.c  


--- trunk/kdesupport/kdewin32/src/math/sf_erf.c #747222:747223
@@ -139,7 +139,7 @@
 sb6  =  4.7452853394e+02, /* 0x43ed43a7 */
 sb7  = -2.2440952301e+01; /* 0xc1b38712 */
 
-#ifdef __STDC__
+#if defined __STDC__ || defined _MSC_VER
 	float erff(float x) 
 #else
 	float erff(x) 
@@ -197,7 +197,7 @@
 	if(hx>=0) return one-r/x; else return  r/x-one;
 }
 
-#ifdef __STDC__
+#if defined __STDC__ || defined _MSC_VER
 	float erfcf(float x) 
 #else
 	float erfcf(x) 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic