diff options
author | Guido van Rossum <guido@python.org> | 1995-03-04 22:43:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-04 22:43:47 (GMT) |
commit | 687ec1892b60c4e57575f823cf0c6e49ae21afaf (patch) | |
tree | 79752d3f58908d4d632b7c42f2b2ba67b2944512 /Objects | |
parent | 0374771cc731a6ba3293b5ec6c805088b7f928ab (diff) | |
download | cpython-687ec1892b60c4e57575f823cf0c6e49ae21afaf.zip cpython-687ec1892b60c4e57575f823cf0c6e49ae21afaf.tar.gz cpython-687ec1892b60c4e57575f823cf0c6e49ae21afaf.tar.bz2 |
changes for MPW
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/longobject.c | 6 |
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; |