aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/q_shared.h
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-05 19:06:10 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-05 19:06:10 +0000
commit2ad7d3b71555eca328d0380e915cf52a18a4f95c (patch)
treed5229cc86cd1d2c153d4671c68187dfa901a5d36 /code/qcommon/q_shared.h
parent3048e0d1b548bb66318575ee6cdb064a85a8f79d (diff)
downloadioquake3-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/q_shared.h')
-rw-r--r--code/qcommon/q_shared.h1
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)