summaryrefslogtreecommitdiff
path: root/Objects/object.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 +0000
commite34f184cf8f15384ead96d31f53ae8ab83e328e5 (patch)
tree78e9990e5b905c9710b8d61202cc2ce7f2c6600a /Objects/object.c
parent1f208bf24cd36ad108eac3a91ee2b163e501ecf8 (diff)
downloadcpython-e34f184cf8f15384ead96d31f53ae8ab83e328e5.tar.gz
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 d85f697fa4..33e146ae9f 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) {