mirror of https://github.com/python/cpython
Port 5b607cd8c71b (closes #11892)
This commit is contained in:
parent
c3ab577f34
commit
2fc8b87499
|
@ -279,6 +279,10 @@ typedef Py_intptr_t Py_ssize_t;
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_IEEEFP_H
|
||||
#include <ieeefp.h> /* needed for 'finite' declaration on some platforms */
|
||||
#endif
|
||||
|
||||
#include <math.h> /* Moved here from the math section, before extern "C" */
|
||||
|
||||
/********************************************
|
||||
|
|
|
@ -8,10 +8,6 @@
|
|||
#include "Python.h"
|
||||
#include "structmember.h"
|
||||
|
||||
#ifdef HAVE_IEEEFP_H
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
#ifndef WITHOUT_COMPLEX
|
||||
|
||||
/* elementary operations on complex numbers */
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
#define MAX(x, y) ((x) < (y) ? (y) : (x))
|
||||
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
||||
|
||||
#ifdef HAVE_IEEEFP_H
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _OSF_SOURCE
|
||||
/* OSF1 5.1 doesn't make this available with XOPEN_SOURCE_EXTENDED defined */
|
||||
|
|
Loading…
Reference in New Issue