summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-23 22:56:19 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-23 22:56:19 (GMT)
commit7081cf54bfe6a6138ad7d60666ae0be2058291ae (patch)
tree28b5fbaa33a4e3e8bf768b48e4e82bd036157e23 /Modules/mathmodule.c
parent88661e8f41eff20c232c8e2e3da0b8c2443b43a7 (diff)
downloadcpython-7081cf54bfe6a6138ad7d60666ae0be2058291ae.zip
cpython-7081cf54bfe6a6138ad7d60666ae0be2058291ae.tar.gz
cpython-7081cf54bfe6a6138ad7d60666ae0be2058291ae.tar.bz2
Microsoft C changes
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 4e704bf..2beb609 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -33,12 +33,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "mymath.h"
+#ifndef _MSC_VER
#ifndef __STDC__
extern double fmod PROTO((double, double));
extern double frexp PROTO((double, int *));
extern double ldexp PROTO((double, int));
extern double modf PROTO((double, double *));
-#endif
+#endif /* __STDC__ */
+#endif /* _MSC_VER */
+
#if defined(HAVE_HYPOT) && !defined(NeXT)
extern double hypot PROTO((double, double));