summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-04 22:43:47 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-04 22:43:47 (GMT)
commit687ec1892b60c4e57575f823cf0c6e49ae21afaf (patch)
tree79752d3f58908d4d632b7c42f2b2ba67b2944512 /Objects
parent0374771cc731a6ba3293b5ec6c805088b7f928ab (diff)
downloadcpython-687ec1892b60c4e57575f823cf0c6e49ae21afaf.zip
cpython-687ec1892b60c4e57575f823cf0c6e49ae21afaf.tar.gz
cpython-687ec1892b60c4e57575f823cf0c6e49ae21afaf.tar.bz2
changes for MPW
Diffstat (limited to 'Objects')
-rw-r--r--Objects/longobject.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 9c2dcf8..1ec4511 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -28,7 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "allobjects.h"
#include "longintrepr.h"
-#include <math.h>
+#include "mymath.h"
#include <assert.h>
#include <ctype.h>
@@ -102,8 +102,12 @@ newlongobject(ival)
/* Create a new long int object from a C double */
object *
+#ifdef MPW
+dnewlongobject(double dval)
+#else
dnewlongobject(dval)
double dval;
+#endif /* MPW */
{
longobject *v;
double frac;