[Python-checkins] python/dist/src/Include pyport.h,2.70,2.70.2.1
gvanrossum@users.sourceforge.net
gvanrossum at users.sourceforge.net
Wed Sep 14 19:54:42 CEST 2005
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20005/Include
Modified Files:
Tag: release24-maint
pyport.h
Log Message:
(backport from HEAD)
- Changes donated by Elemental Security to make it work on HP-UX 11 on
Itanium2 with HP's 64-bit compiler (SF patch #1225212).
Index: pyport.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyport.h,v
retrieving revision 2.70
retrieving revision 2.70.2.1
diff -u -d -r2.70 -r2.70.2.1
--- pyport.h 23 Sep 2004 19:11:21 -0000 2.70
+++ pyport.h 14 Sep 2005 17:54:39 -0000 2.70.2.1
@@ -297,7 +297,7 @@
* This isn't reliable. See Py_OVERFLOWED comments.
* X is evaluated more than once.
*/
-#if defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || (defined(__hpux) && defined(__ia64))
#define _Py_SET_EDOM_FOR_NAN(X) if (isnan(X)) errno = EDOM;
#else
#define _Py_SET_EDOM_FOR_NAN(X) ;
More information about the Python-checkins
mailing list