[Scipy-svn] r2932 - trunk/Lib/special/cephes

scipy-svn@scip... scipy-svn@scip...
Tue Apr 17 14:52:35 CDT 2007


Author: fullung
Date: 2007-04-17 14:52:32 -0500 (Tue, 17 Apr 2007)
New Revision: 2932

Modified:
   trunk/Lib/special/cephes/mconf.h
Log:
Fixed compilation with MSVC.


Modified: trunk/Lib/special/cephes/mconf.h
===================================================================
--- trunk/Lib/special/cephes/mconf.h	2007-04-17 16:09:47 UTC (rev 2931)
+++ trunk/Lib/special/cephes/mconf.h	2007-04-17 19:52:32 UTC (rev 2932)
@@ -163,7 +163,7 @@
 #define ANSIC 1
 
 /* Get ANSI function prototypes, if you want them. */
-#ifdef __STDC__
+#if defined(__STDC__) || defined(_MSC_EXTENSIONS)
 #define ANSIPROT
 #include "protos.h"
 #else



More information about the Scipy-svn mailing list