apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: apr/shmem/unix shmem.c
Date Mon, 20 Aug 2001 18:43:20 GMT
gregames    01/08/20 11:43:20

  Modified:    shmem/unix shmem.c
  Log:
  get shmem.c to compile on platforms that have different names for SHM_R
  and SHM_W (e.g. OS/390)
  
  Submitted by: Jeff Trawick
  
  Revision  Changes    Path
  1.30      +6 -0      apr/shmem/unix/shmem.c
  
  Index: shmem.c
  ===================================================================
  RCS file: /home/cvs/apr/shmem/unix/shmem.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- shmem.c	2001/08/15 02:47:22	1.29
  +++ shmem.c	2001/08/20 18:43:20	1.30
  @@ -78,6 +78,12 @@
   #elif APR_USE_SHMEM_SHMGET
   #include <sys/ipc.h>
   #include <sys/shm.h>
  +#if !defined(SHM_R)
  +#define SHM_R 0400
  +#endif
  +#if !defined(SHM_W)
  +#define SHM_W 0200
  +#endif
   #include <sys/file.h>
   #elif APR_USE_SHMEM_BEOS
   #include <kernel/OS.h>
  
  
  

Mime
View raw message