Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 687ec18

Browse files
committed
changes for MPW
1 parent 0374771 commit 687ec18

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Objects/longobject.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2828

2929
#include "allobjects.h"
3030
#include "longintrepr.h"
31-
#include <math.h>
31+
#include "mymath.h"
3232
#include <assert.h>
3333
#include <ctype.h>
3434

@@ -102,8 +102,12 @@ newlongobject(ival)
102102
/* Create a new long int object from a C double */
103103

104104
object *
105+
#ifdef MPW
106+
dnewlongobject(double dval)
107+
#else
105108
dnewlongobject(dval)
106109
double dval;
110+
#endif /* MPW */
107111
{
108112
longobject *v;
109113
double frac;

0 commit comments

Comments
 (0)