summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 (GMT)
commitfb2765666f23434061e5def1aa8392797edf1f43 (patch)
treede935c5b77d6b50ad326dd41c94294ebd00e9cfa /Objects/object.c
parent61963220666a79d5c1811991a31261a5d993bcdb (diff)
downloadcpython-fb2765666f23434061e5def1aa8392797edf1f43.zip
cpython-fb2765666f23434061e5def1aa8392797edf1f43.tar.gz
cpython-fb2765666f23434061e5def1aa8392797edf1f43.tar.bz2
Getting rid of support for the ancient Apple MPW compiler.
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Objects/object.c b/Objects/object.c
index d85f697..33e146a 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -908,15 +908,7 @@ _Py_HashDouble(double v)
* of mapping keys will turn out weird.
*/
-#ifdef MPW /* MPW C modf expects pointer to extended as second argument */
-{
- extended e;
- fractpart = modf(v, &e);
- intpart = e;
-}
-#else
fractpart = modf(v, &intpart);
-#endif
if (fractpart == 0.0) {
/* This must return the same hash as an equal int or long. */
if (intpart > LONG_MAX || -intpart > LONG_MAX) {