[project @ 1998-02-22 18:15:02 by sof]
authorsof <unknown>
Sun, 22 Feb 1998 18:15:02 +0000 (18:15 +0000)
committersof <unknown>
Sun, 22 Feb 1998 18:15:02 +0000 (18:15 +0000)
define _OSF_SOURCE when compiling under OSFx.y (x `elem` [1,3])

ghc/runtime/main/Signals.lc

index f473cae..866f102 100644 (file)
@@ -35,7 +35,7 @@ much pain.
 # define NON_POSIX_SOURCE
 #endif
 
-#if defined(osf1_TARGET_OS)
+#if defined(osf3_TARGET_OS) || defined(osf1_TARGET_OS)
     /* The include files for OSF1 do not normally define SA_SIGINFO */
 # define _OSF_SOURCE 1
 #endif