* sysv_shm.cc (ACCESSPERMS): Remove to fix redefined warning, as

this is now defined in <sys/stat.h>.
This commit is contained in:
Yaakov Selkowitz 2011-08-19 01:41:49 +00:00
parent 6072b95eeb
commit 28c2fbeed8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-08-18 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* sysv_shm.cc (ACCESSPERMS): Remove to fix redefined warning, as
this is now defined in <sys/stat.h>.
2011-02-07 Corinna Vinschen <corinna@vinschen.de> 2011-02-07 Corinna Vinschen <corinna@vinschen.de>
* configure.in: Remove AC_ALLOCA test and test for __builtin_memset. * configure.in: Remove AC_ALLOCA test and test for __builtin_memset.

View File

@ -68,7 +68,6 @@ __FBSDID("$FreeBSD: /repoman/r/ncvs/src/sys/kern/sysv_shm.c,v 1.89 2003/11/07 04
#endif #endif
#define btoc(b) (((b) + PAGE_MASK) / PAGE_SIZE) #define btoc(b) (((b) + PAGE_MASK) / PAGE_SIZE)
#define round_page(p) ((((unsigned long)(p)) + PAGE_MASK) & ~(PAGE_MASK)) #define round_page(p) ((((unsigned long)(p)) + PAGE_MASK) & ~(PAGE_MASK))
#define ACCESSPERMS (0777)
#ifdef __CYGWIN__ #ifdef __CYGWIN__
#define GIANT_REQUIRED #define GIANT_REQUIRED
#else #else