1989-02-07 11:04:05 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
|
|
|
/* $Header$ */
|
|
|
|
/* Align To Word boundary Definition */
|
|
|
|
|
|
|
|
#include "sizes.h"
|
|
|
|
|
1990-07-19 17:16:36 +00:00
|
|
|
#if word_size==2 || word_size==4
|
|
|
|
#define ATW(arg) (((arg) + (word_size - 1)) & ~ (word_size - 1))
|
|
|
|
#else
|
|
|
|
#define ATW(arg) ((((arg) + ((int)word_size - 1)) / word_size) * word_size)
|
|
|
|
#endif
|