From: Matt Turner Date: Sat, 21 Feb 2015 04:23:26 +0000 (-0800) Subject: mesa: Remove definition of NULL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08bc7cf8f641812a48e9d9a416611795e2736489;p=mesa.git mesa: Remove definition of NULL. If your stdlib.h doesn't define this you should fix your stdlib.h. Reviewed-by: Eric Anholt --- diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 9a5dbcfd3a4..d513284bb68 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -206,10 +206,6 @@ static inline GLuint CPU_TO_LE32(GLuint x) */ #define uninitialized_var(x) x = x -#ifndef NULL -#define NULL 0 -#endif - /** * LONGSTRING macro