From 2ad7d3b71555eca328d0380e915cf52a18a4f95c Mon Sep 17 00:00:00 2001 From: ludwig Date: Sat, 5 Nov 2005 19:06:10 +0000 Subject: - put ALIGN macro into q_shared.h - yet another alignment fix for botlib git-svn-id: svn://svn.icculus.org/quake3/trunk@282 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/q_shared.h | 1 + 1 file changed, 1 insertion(+) (limited to 'code/qcommon') diff --git a/code/qcommon/q_shared.h b/code/qcommon/q_shared.h index c981941..20f15e1 100644 --- a/code/qcommon/q_shared.h +++ b/code/qcommon/q_shared.h @@ -111,6 +111,7 @@ typedef int sfxHandle_t; typedef int fileHandle_t; typedef int clipHandle_t; +#define ALIGN(x) ((x+sizeof(long)-1) & ~(sizeof(long)-1)) #ifndef NULL #define NULL ((void *)0) -- cgit v1.2.3