openbsd-ports/games/openarena/patches/patch-code_qcommon_q_shared_h

16 lines
461 B
Plaintext
Raw Normal View History

$OpenBSD: patch-code_qcommon_q_shared_h,v 1.1 2010/05/27 03:47:28 jakemsr Exp $
--- code/qcommon/q_shared.h.orig Mon May 3 04:41:00 2010
+++ code/qcommon/q_shared.h Mon May 3 04:41:20 2010
@@ -157,9 +157,9 @@ typedef int clipHandle_t;
#define PAD(x,y) (((x)+(y)-1) & ~((y)-1))
#ifdef __GNUC__
-#define ALIGN(x) __attribute__((aligned(x)))
+#define QALIGN(x) __attribute__((aligned(x)))
#else
-#define ALIGN(x)
+#define QALIGN(x)
#endif
#ifndef NULL