summaryrefslogtreecommitdiffstats
path: root/Modules/fpectlmodule.c
diff options
context:
space:
mode:
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 */