summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/defines.h b/defines.h
index c6b08c403..f74ca0d82 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.87 2002/04/23 10:23:00 djm Exp $ */ 4/* $Id: defines.h,v 1.88 2002/04/23 12:59:51 djm Exp $ */
5 5
6 6
7/* Constants */ 7/* Constants */
@@ -393,14 +393,11 @@ struct winsize {
393# define howmany(x,y) (((x)+((y)-1))/(y)) 393# define howmany(x,y) (((x)+((y)-1))/(y))
394#endif 394#endif
395 395
396#ifndef ALIGNBYTES 396#ifndef OSSH_ALIGNBYTES
397#define ALIGNBYTES (sizeof(int) - 1) 397#define OSSH_ALIGNBYTES (sizeof(int) - 1)
398#endif
399#ifndef ALIGN
400#define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
401#endif 398#endif
402#ifndef __CMSG_ALIGN 399#ifndef __CMSG_ALIGN
403#define __CMSG_ALIGN(len) ALIGN(len) 400#define __CMSG_ALIGN(p) (((u_int)(p) + OSSH_ALIGNBYTES) &~ OSSH_ALIGNBYTES)
404#endif 401#endif
405 402
406/* Length of the contents of a control message of length len */ 403/* Length of the contents of a control message of length len */