mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Remove support for SunOS 4.
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
This commit is contained in:
parent
09de756726
commit
ce59c04127
11 changed files with 3 additions and 82 deletions
|
@ -13,16 +13,6 @@ extern double fmod(double, double);
|
|||
extern double pow(double, double);
|
||||
#endif
|
||||
|
||||
#if defined(sun) && !defined(__SVR4)
|
||||
/* On SunOS4.1 only libm.a exists. Make sure that references to all
|
||||
needed math functions exist in the executable, so that dynamic
|
||||
loading of mathmodule does not fail. */
|
||||
double (*_Py_math_funcs_hack[])() = {
|
||||
acos, asin, atan, atan2, ceil, cos, cosh, exp, fabs, floor,
|
||||
fmod, log, log10, pow, sin, sinh, sqrt, tan, tanh
|
||||
};
|
||||
#endif
|
||||
|
||||
/* Special free list -- see comments for same code in intobject.c. */
|
||||
#define BLOCK_SIZE 1000 /* 1K less typical malloc overhead */
|
||||
#define BHEAD_SIZE 8 /* Enough for a 64-bit pointer */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue