File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -279,6 +279,10 @@ typedef Py_intptr_t Py_ssize_t;
279279
280280#include <stdlib.h>
281281
282+ #ifdef HAVE_IEEEFP_H
283+ #include <ieeefp.h> /* needed for 'finite' declaration on some platforms */
284+ #endif
285+
282286#include <math.h> /* Moved here from the math section, before extern "C" */
283287
284288/********************************************
Original file line number Diff line number Diff line change 88#include "Python.h"
99#include "structmember.h"
1010
11- #ifdef HAVE_IEEEFP_H
12- #include <ieeefp.h>
13- #endif
14-
1511#ifndef WITHOUT_COMPLEX
1612
1713/* elementary operations on complex numbers */
Original file line number Diff line number Diff line change 1515#define MAX (x , y ) ((x) < (y) ? (y) : (x))
1616#define MIN (x , y ) ((x) < (y) ? (x) : (y))
1717
18- #ifdef HAVE_IEEEFP_H
19- #include <ieeefp.h>
20- #endif
21-
2218
2319#ifdef _OSF_SOURCE
2420/* OSF1 5.1 doesn't make this available with XOPEN_SOURCE_EXTENDED defined */
You can’t perform that action at this time.
0 commit comments