- (stevesk) [defines.h] #define MAP_ANON MAP_ANONYMOUS for HP-UX; other

platforms may need this--I'm not sure.  mmap() issues will need to be
   addressed further.
This commit is contained in:
Kevin Steves 2002-03-22 21:08:03 +00:00
parent 219bef12c6
commit 4435a55a4b
2 changed files with 9 additions and 2 deletions

View File

@ -7,6 +7,9 @@
- (stevesk) [auth2.c] merge cleanup/sync - (stevesk) [auth2.c] merge cleanup/sync
- (stevesk) [defines.h] hp-ux 11 has ancillary data style fd passing, but - (stevesk) [defines.h] hp-ux 11 has ancillary data style fd passing, but
is missing CMSG_LEN() and CMSG_SPACE() macros. is missing CMSG_LEN() and CMSG_SPACE() macros.
- (stevesk) [defines.h] #define MAP_ANON MAP_ANONYMOUS for HP-UX; other
platforms may need this--I'm not sure. mmap() issues will need to be
addressed further.
20020321 20020321
- (bal) OpenBSD CVS Sync - (bal) OpenBSD CVS Sync
@ -8001,4 +8004,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1972 2002/03/22 20:53:32 stevesk Exp $ $Id: ChangeLog,v 1.1973 2002/03/22 21:08:03 stevesk Exp $

View File

@ -1,7 +1,7 @@
#ifndef _DEFINES_H #ifndef _DEFINES_H
#define _DEFINES_H #define _DEFINES_H
/* $Id: defines.h,v 1.83 2002/03/22 20:53:32 stevesk Exp $ */ /* $Id: defines.h,v 1.84 2002/03/22 21:08:04 stevesk Exp $ */
/* Necessary headers */ /* Necessary headers */
@ -440,6 +440,10 @@ struct winsize {
# define howmany(x,y) (((x)+((y)-1))/(y)) # define howmany(x,y) (((x)+((y)-1))/(y))
#endif #endif
#ifdef __hpux
#define MAP_ANON MAP_ANONYMOUS
#endif
#ifndef ALIGNBYTES #ifndef ALIGNBYTES
#define ALIGNBYTES (sizeof(int) - 1) #define ALIGNBYTES (sizeof(int) - 1)
#endif #endif