mirror of https://github.com/python/cpython
changes for MPW
This commit is contained in:
parent
0374771cc7
commit
687ec1892b
|
@ -28,7 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "allobjects.h"
|
#include "allobjects.h"
|
||||||
#include "longintrepr.h"
|
#include "longintrepr.h"
|
||||||
#include <math.h>
|
#include "mymath.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
@ -102,8 +102,12 @@ newlongobject(ival)
|
||||||
/* Create a new long int object from a C double */
|
/* Create a new long int object from a C double */
|
||||||
|
|
||||||
object *
|
object *
|
||||||
|
#ifdef MPW
|
||||||
|
dnewlongobject(double dval)
|
||||||
|
#else
|
||||||
dnewlongobject(dval)
|
dnewlongobject(dval)
|
||||||
double dval;
|
double dval;
|
||||||
|
#endif /* MPW */
|
||||||
{
|
{
|
||||||
longobject *v;
|
longobject *v;
|
||||||
double frac;
|
double frac;
|
||||||
|
|
Loading…
Reference in New Issue