summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-03-22 21:08:03 +0000
committerKevin Steves <stevesk@pobox.com>2002-03-22 21:08:03 +0000
commit4435a55a4ba0faa25f39aa883aac9d7d964a1858 (patch)
treed915e11a49edf54d5528d7e5844da26942a13864
parent219bef12c6fcfd0542d261c463eae0124efad93a (diff)
- (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.
-rw-r--r--ChangeLog5
-rw-r--r--defines.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 35593dcd8..397defde5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,9 @@
7 - (stevesk) [auth2.c] merge cleanup/sync 7 - (stevesk) [auth2.c] merge cleanup/sync
8 - (stevesk) [defines.h] hp-ux 11 has ancillary data style fd passing, but 8 - (stevesk) [defines.h] hp-ux 11 has ancillary data style fd passing, but
9 is missing CMSG_LEN() and CMSG_SPACE() macros. 9 is missing CMSG_LEN() and CMSG_SPACE() macros.
10 - (stevesk) [defines.h] #define MAP_ANON MAP_ANONYMOUS for HP-UX; other
11 platforms may need this--I'm not sure. mmap() issues will need to be
12 addressed further.
10 13
1120020321 1420020321
12 - (bal) OpenBSD CVS Sync 15 - (bal) OpenBSD CVS Sync
@@ -8001,4 +8004,4 @@
8001 - Wrote replacements for strlcpy and mkdtemp 8004 - Wrote replacements for strlcpy and mkdtemp
8002 - Released 1.0pre1 8005 - Released 1.0pre1
8003 8006
8004$Id: ChangeLog,v 1.1972 2002/03/22 20:53:32 stevesk Exp $ 8007$Id: ChangeLog,v 1.1973 2002/03/22 21:08:03 stevesk Exp $
diff --git a/defines.h b/defines.h
index a25cae102..ec0d8e587 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
1#ifndef _DEFINES_H 1#ifndef _DEFINES_H
2#define _DEFINES_H 2#define _DEFINES_H
3 3
4/* $Id: defines.h,v 1.83 2002/03/22 20:53:32 stevesk Exp $ */ 4/* $Id: defines.h,v 1.84 2002/03/22 21:08:04 stevesk Exp $ */
5 5
6/* Necessary headers */ 6/* Necessary headers */
7 7
@@ -440,6 +440,10 @@ struct winsize {
440# define howmany(x,y) (((x)+((y)-1))/(y)) 440# define howmany(x,y) (((x)+((y)-1))/(y))
441#endif 441#endif
442 442
443#ifdef __hpux
444#define MAP_ANON MAP_ANONYMOUS
445#endif
446
443#ifndef ALIGNBYTES 447#ifndef ALIGNBYTES
444#define ALIGNBYTES (sizeof(int) - 1) 448#define ALIGNBYTES (sizeof(int) - 1)
445#endif 449#endif