Skip to content

Commit

Permalink
- (stevesk) [defines.h] #define MAP_ANON MAP_ANONYMOUS for HP-UX; other
Browse files Browse the repository at this point in the history
   platforms may need this--I'm not sure.  mmap() issues will need to be
   addressed further.
  • Loading branch information
Kevin Steves committed Mar 22, 2002
1 parent 219bef1 commit 4435a55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 $
6 changes: 5 additions & 1 deletion defines.h
Original file line number Diff line number Diff line change
@@ -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 */

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4435a55

Please sign in to comment.