mirror of
https://github.com/python/cpython.git
synced 2025-09-16 13:47:31 +00:00
Include ieeefp.h (when available) in pyport.h instead of individually in
Objects/floatobject.c and Objects/complexobject.c. This should silence compiler warnings about implicit declaration of the 'finite' function on Solaris.
This commit is contained in:
parent
8d8f874c19
commit
31f0cfef0e
3 changed files with 4 additions and 8 deletions
|
@ -8,10 +8,6 @@
|
|||
#include "Python.h"
|
||||
#include "structmember.h"
|
||||
|
||||
#ifdef HAVE_IEEEFP_H
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
#ifndef WITHOUT_COMPLEX
|
||||
|
||||
/* Precisions used by repr() and str(), respectively.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue