Provide a placebo default for ALIGN() for hosts which don't have this.

This commit is contained in:
tv 2002-01-31 19:33:27 +00:00
parent d08ddf4732
commit dd39a6001e

View File

@ -1,4 +1,4 @@
/* $NetBSD: lint1.h,v 1.11 2001/12/13 23:56:00 augustss Exp $ */
/* $NetBSD: lint1.h,v 1.12 2002/01/31 19:33:27 tv Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@ -35,6 +35,11 @@
#include "lint.h"
#include "op.h"
/* XXX - works for most systems, but the whole ALIGN thing needs to go away */
#ifndef ALIGN
#define ALIGN(x) (((x) + 7) & ~7)
#endif
/*
* Describes the position of a declaration or anything else.
*/