summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/longobject.c')
-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;