summaryrefslogtreecommitdiffstats
path: root/Modules/fpectlmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-19 16:50:26 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-19 16:50:26 (GMT)
commita7379d9a34ab34a2424e334d4617de206021b0c3 (patch)
tree873d0e774477cfe9a80d7eb91bc5a2a649149343 /Modules/fpectlmodule.c
parent0a2818fe5b2f7ea840d2ed3e87e0caf925dc9d37 (diff)
downloadcpython-a7379d9a34ab34a2424e334d4617de206021b0c3.zip
cpython-a7379d9a34ab34a2424e334d4617de206021b0c3.tar.gz
cpython-a7379d9a34ab34a2424e334d4617de206021b0c3.tar.bz2
Avoid triggering Alpha OSF/1 specific code on Alpha NT or Linux.
Diffstat (limited to 'Modules/fpectlmodule.c')
-rw-r--r--Modules/fpectlmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c
index cc6709f..8055636 100644
--- a/Modules/fpectlmodule.c
+++ b/Modules/fpectlmodule.c
@@ -160,7 +160,7 @@ static void fpe_reset(Sigfunc *handler)
signal(SIGFPE, handler);
/*-- DEC ALPHA OSF --------------------------------------------------------*/
-#elif defined(__alpha)
+#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 */