diff options
author | Guido van Rossum <guido@python.org> | 2005-09-14 17:49:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2005-09-14 17:49:54 (GMT) |
commit | 539c662f10b41d15f658cabfa03cc02902862adc (patch) | |
tree | 4df533b4d47a5481832638a22a7225499ca67591 /Include | |
parent | 3fbf3204c5526589eeedf6413a3875a0fdd2f25d (diff) | |
download | cpython-539c662f10b41d15f658cabfa03cc02902862adc.zip cpython-539c662f10b41d15f658cabfa03cc02902862adc.tar.gz cpython-539c662f10b41d15f658cabfa03cc02902862adc.tar.bz2 |
- Changes donated by Elemental Security to make it work on HP-UX 11 on
Itanium2 with HP's 64-bit compiler (SF patch #1225212).
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index f71b9f4..2440c55 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -297,7 +297,7 @@ extern "C" { * 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) ; |