diff options
author | Jesus Cea <jcea@jcea.es> | 2011-03-14 16:36:54 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2011-03-14 16:36:54 (GMT) |
commit | 736e7fc0f6d1242b58ee91708873d14ed7856b77 (patch) | |
tree | 81a5d54882e019409471a3f9d26047a12006ca15 /Modules/fpectlmodule.c | |
parent | 3eb2347c8ce29ac76de4c2e4f98c6ecfa3b69e01 (diff) | |
download | cpython-736e7fc0f6d1242b58ee91708873d14ed7856b77.zip cpython-736e7fc0f6d1242b58ee91708873d14ed7856b77.tar.gz cpython-736e7fc0f6d1242b58ee91708873d14ed7856b77.tar.bz2 |
Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2
Diffstat (limited to 'Modules/fpectlmodule.c')
-rw-r--r-- | Modules/fpectlmodule.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c index 1bb51cf..6af2f82 100644 --- a/Modules/fpectlmodule.c +++ b/Modules/fpectlmodule.c @@ -174,17 +174,6 @@ static void fpe_reset(Sigfunc *handler) fp_enable(TRP_INVALID | TRP_DIV_BY_ZERO | TRP_OVERFLOW); PyOS_setsig(SIGFPE, handler); -/*-- DEC ALPHA OSF --------------------------------------------------------*/ -#elif defined(__alpha) && defined(__osf__) - /* References: exception_intro, ieee man pages */ - /* cc -c -I/usr/local/python/include fpectlmodule.c */ - /* ld -shared -o fpectlmodule.so fpectlmodule.o */ -#include <machine/fpu.h> - unsigned long fp_control = - IEEE_TRAP_ENABLE_INV | IEEE_TRAP_ENABLE_DZE | IEEE_TRAP_ENABLE_OVF; - ieee_set_fp_control(fp_control); - PyOS_setsig(SIGFPE, handler); - /*-- DEC ALPHA LINUX ------------------------------------------------------*/ #elif defined(__alpha) && defined(linux) #include <asm/fpu.h> |