Port 5b607cd8c71b (closes #11892)

This commit is contained in:
Jesus Cea 2011-04-20 22:26:57 +02:00
parent c3ab577f34
commit 2fc8b87499
3 changed files with 4 additions and 8 deletions

View File

@ -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" */
/********************************************

View File

@ -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 */

View File

@ -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 */