mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64)
and eliminate a compiler warning in floatobject.c. There might be a better way to go about this, but it should be good enough for now.
This commit is contained in:
parent
769d0eefd7
commit
5f95a79b2b
2 changed files with 10 additions and 0 deletions
|
|
@ -16,6 +16,11 @@ extern double fmod(double, double);
|
|||
extern double pow(double, double);
|
||||
#endif
|
||||
|
||||
#ifdef _OSF_SOURCE
|
||||
/* OSF1 5.1 doesn't make this available with XOPEN_SOURCE_EXTENDED defined */
|
||||
extern int finite(double);
|
||||
#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