Getting rid of support for the ancient Apple MPW compiler.

This commit is contained in:
Jack Jansen 2003-11-19 15:24:47 +00:00
parent 6196322066
commit fb2765666f
10 changed files with 0 additions and 80 deletions

View file

@ -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) {