313837a2ff
the same audio engine as quake * use -pthread instead of -lpthread for pthreads linkage * oa defines an ALIGN macro, rename it to QALIGN to avoid clashing with the ALIGN macro from machine/param.h * use /dev/arandom instead of /dev/urandom ok jasper@
16 lines
461 B
Plaintext
16 lines
461 B
Plaintext
$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
|