summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-17 16:33:14 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-17 16:33:14 (GMT)
commit4d3468deab2a33a41c97981068dbc05d9f9df7f5 (patch)
treeaa03cfd075b06446671f1b2ac54803a6c000fb00
parent5c2306c44f0731d360dabf6f61077e59b1251181 (diff)
downloadcpython-4d3468deab2a33a41c97981068dbc05d9f9df7f5.zip
cpython-4d3468deab2a33a41c97981068dbc05d9f9df7f5.tar.gz
cpython-4d3468deab2a33a41c97981068dbc05d9f9df7f5.tar.bz2
don't declare fmod/pow for any STDC compiler
-rw-r--r--Objects/floatobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index b1bb968..c7bdbed 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -59,7 +59,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define LONG_MIN (-LONG_MAX-1)
#endif
-#ifndef macintosh
+#ifndef __STDC__
extern double fmod PROTO((double, double));
extern double pow PROTO((double, double));
#endif