Skip to content

Commit 7f04dda

Browse files
committed
pythongh-108765: Python.h no longer includes <ieeefp.h>
1 parent 12a842c commit 7f04dda

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Include/Python.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <ctype.h> // tolower()
2121
#include <inttypes.h> // uintptr_t
2222
#include <limits.h> // INT_MAX
23+
#include <math.h> // HUGE_VAL
2324
#include <stdarg.h> // va_list
2425
#include <wchar.h> // wchar_t
2526
#ifdef HAVE_STDDEF_H

Include/pyport.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,6 @@ typedef Py_ssize_t Py_ssize_clean_t;
184184
# define Py_MEMCPY memcpy
185185
#endif
186186

187-
#ifdef HAVE_IEEEFP_H
188-
#include <ieeefp.h> /* needed for 'finite' declaration on some platforms */
189-
#endif
190-
191-
#include <math.h> /* Moved here from the math section, before extern "C" */
192-
193187
/*******************************
194188
* stat() and fstat() fiddling *
195189
*******************************/

0 commit comments

Comments
 (0)