diff Objects/floatobject.c @ 57485:297df77ba396 legacy-trunk

Include ieeefp.h (when available) in pyport.h instead of individually in Objects/floatobject.c and Objects/complexobject.c. This should silence compiler warnings about implicit declaration of the 'finite' function on Solaris.
author Mark Dickinson <dickinsm@gmail.com>
date Sat, 28 Nov 2009 12:30:36 +0000
parents 92e06cdbeab9
children ac5fd8909998
line wrap: on
line diff
--- a/Objects/floatobject.c	Sat Nov 28 11:11:50 2009 +0000
+++ b/Objects/floatobject.c	Sat Nov 28 12:30:36 2009 +0000
@@ -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 */
 extern int finite(double);