Re: [Mesa-dev] [PATCH] mesa: Only undefine _P on IRIX.

2012-05-17 Thread Brian Paul
On 05/17/2012 12:32 AM, Vinson Lee wrote: Per the comment _P is a macro on IRIX, so only undefine it on IRIX. This fixes a compiler error on Cygwin, which has a _P symbol defined and used in ctypes.h. Signed-off-by: Vinson Lee --- src/mesa/main/compiler.h |2 ++ 1 file changed, 2 inserti

[Mesa-dev] [PATCH] mesa: Only undefine _P on IRIX.

2012-05-16 Thread Vinson Lee
Per the comment _P is a macro on IRIX, so only undefine it on IRIX. This fixes a compiler error on Cygwin, which has a _P symbol defined and used in ctypes.h. Signed-off-by: Vinson Lee --- src/mesa/main/compiler.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/compiler.h