summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-03-23 19:07:34 +0000
committerwtc%netscape.com <devnull@localhost>2000-03-23 19:07:34 +0000
commit4d29f91031105fdefebb4a39273992f9a0b21300 (patch)
tree24b179901c4ffdd4f36dc3cd8922445a999cfa70
parent4dda939f5d956f71a36fbc89e05f42545467c5cd (diff)
downloadnspr-hg-NSPRPUB_RELEASE_3_5_BRANCH.tar.gz
Bugzilla bug #33043: use System V shared memory and semaphores onNSPRPUB_RELEASE_3_5_BRANCH
Solaris 2.5.1 because the POSIX shared memory and semaphore functions fail with ENOSYS. (NSPRPUB_RELEASE_3_5_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 11681813..ebb4fb9e 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
#include "prinrval.h"
PR_EXTERN(PRIntervalTime) _MD_Solaris_GetInterval(void);