diff options
author | ross <unknown> | 2003-12-05 10:20:25 +0000 |
---|---|---|
committer | ross <unknown> | 2003-12-05 10:20:25 +0000 |
commit | 2c12709f6d7856f9e91205bdd48cc9691e02ff64 (patch) | |
tree | 9c47849eeb3182e2e0678f40e3e61f9765b9dd36 | |
parent | bcd433ffeadcb380e99f3daa4748e15fa9981e35 (diff) |
[project @ 2003-12-05 10:20:25 by ross]
solaris_TARGET_OS -> solaris2_TARGET_OS
(and tweak the #define while I'm here)
Works for Hugs, still untested for GHC, but presumably needed for STABLE.
-rw-r--r-- | System/Posix/User.hsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/System/Posix/User.hsc b/System/Posix/User.hsc index fba44d3..e834f80 100644 --- a/System/Posix/User.hsc +++ b/System/Posix/User.hsc @@ -42,9 +42,9 @@ module System.Posix.User ( #include "HsUnix.h" -#ifdef solaris_TARGET_OS +#ifdef solaris2_TARGET_OS -- Solaris needs this in order to get the POSIX versions of getgrnam_r etc. -#define _POSIX_PTHREAD_SEMANTICS +#define _POSIX_PTHREAD_SEMANTICS 1 #endif import System.Posix.Types |