From 4435a55a4ba0faa25f39aa883aac9d7d964a1858 Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Fri, 22 Mar 2002 21:08:03 +0000 Subject: [PATCH] - (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. --- ChangeLog | 5 ++++- defines.h | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 35593dcd8933..397defde5737 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ - (stevesk) [auth2.c] merge cleanup/sync - (stevesk) [defines.h] hp-ux 11 has ancillary data style fd passing, but 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 - (bal) OpenBSD CVS Sync @@ -8001,4 +8004,4 @@ - Wrote replacements for strlcpy and mkdtemp - 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 $ diff --git a/defines.h b/defines.h index a25cae102fad..ec0d8e5871c6 100644 --- a/defines.h +++ b/defines.h @@ -1,7 +1,7 @@ #ifndef _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 */ @@ -440,6 +440,10 @@ struct winsize { # define howmany(x,y) (((x)+((y)-1))/(y)) #endif +#ifdef __hpux +#define MAP_ANON MAP_ANONYMOUS +#endif + #ifndef ALIGNBYTES #define ALIGNBYTES (sizeof(int) - 1) #endif