Commit 992fdfa1 authored by Jesus Cea's avatar Jesus Cea

Port 5b607cd8c71b (closes #11892)

parent 15cad7df
...@@ -279,6 +279,10 @@ typedef Py_intptr_t Py_ssize_t; ...@@ -279,6 +279,10 @@ typedef Py_intptr_t Py_ssize_t;
#include <stdlib.h> #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" */ #include <math.h> /* Moved here from the math section, before extern "C" */
/******************************************** /********************************************
......
...@@ -8,10 +8,6 @@ ...@@ -8,10 +8,6 @@
#include "Python.h" #include "Python.h"
#include "structmember.h" #include "structmember.h"
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
#endif
#ifndef WITHOUT_COMPLEX #ifndef WITHOUT_COMPLEX
/* elementary operations on complex numbers */ /* elementary operations on complex numbers */
......
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
#define MAX(x, y) ((x) < (y) ? (y) : (x)) #define MAX(x, y) ((x) < (y) ? (y) : (x))
#define MIN(x, y) ((x) < (y) ? (x) : (y)) #define MIN(x, y) ((x) < (y) ? (x) : (y))
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
#endif
#ifdef _OSF_SOURCE #ifdef _OSF_SOURCE
/* OSF1 5.1 doesn't make this available with XOPEN_SOURCE_EXTENDED defined */ /* OSF1 5.1 doesn't make this available with XOPEN_SOURCE_EXTENDED defined */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment