From 876a6b4865a5ab422b6d80d6248cf66a42869172 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 17 Jan 2010 14:40:49 +0000 Subject: [PATCH] gallium: Support swig "compiler" in p_compiler.h --- src/gallium/include/pipe/p_compiler.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index 18ebd0c9483..819f27f6dfb 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -162,6 +162,13 @@ typedef unsigned char boolean; #define PIPE_ALIGN_STACK +#elif defined(SWIG) + +#define PIPE_ALIGN_TYPE(_alignment, _type) _type +#define PIPE_ALIGN_VAR(_alignment) + +#define PIPE_ALIGN_STACK + #else #error "Unsupported compiler" -- 2.30.2