diff options
-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 |