diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-05 19:06:10 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-05 19:06:10 +0000 |
commit | 2ad7d3b71555eca328d0380e915cf52a18a4f95c (patch) | |
tree | d5229cc86cd1d2c153d4671c68187dfa901a5d36 /code/qcommon | |
parent | 3048e0d1b548bb66318575ee6cdb064a85a8f79d (diff) | |
download | ioquake3-aero-2ad7d3b71555eca328d0380e915cf52a18a4f95c.tar.gz ioquake3-aero-2ad7d3b71555eca328d0380e915cf52a18a4f95c.zip |
- 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
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/q_shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |