From 4d29f91031105fdefebb4a39273992f9a0b21300 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Thu, 23 Mar 2000 19:07:34 +0000 Subject: 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_RELEASE_3_5_BRANCH) --- pr/include/md/_solaris.h | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v1.2.1