summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-05-05 22:24:39 +0000
committerwtc%netscape.com <devnull@localhost>2000-05-05 22:24:39 +0000
commita7f21e0c4a34057033bb858244e6245f1996a7b9 (patch)
treed66cba69713588653d16ceebabeb778f3905ea2a
parentbc05d1a9350584378ab5a0f26a0acfe2cfe9e844 (diff)
downloadnspr-hg-a7f21e0c4a34057033bb858244e6245f1996a7b9.tar.gz
Bugzilla bug #33043: use System V shared memory and semaphores on
Solaris 2.5.1 because the POSIX shared memory and semaphore functions fail with ENOSYS. (NSPRPUB_CLIENT_BRANCH)
-rw-r--r--pr/include/md/_solaris.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pr/include/md/_solaris.h b/pr/include/md/_solaris.h
index 081636e0..5a16750c 100644
--- a/pr/include/md/_solaris.h
+++ b/pr/include/md/_solaris.h
@@ -70,8 +70,13 @@
#define _PR_POLL_AVAILABLE
#define _PR_USE_POLL
#define _PR_STAT_HAS_ST_ATIM
+#ifdef SOLARIS2_5
+#define _PR_HAVE_SYSV_SEMAPHORES
+#define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
+#else
#define _PR_HAVE_POSIX_SEMAPHORES
#define PR_HAVE_POSIX_NAMED_SHARED_MEMORY
+#endif
#define _PR_HAVE_GETIPNODEBYNAME
#define _PR_HAVE_GETIPNODEBYADDR
#define _PR_INET6_PROBE