mesa: Remove definition of NULL.
authorMatt Turner <mattst88@gmail.com>
Sat, 21 Feb 2015 04:23:26 +0000 (20:23 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 23 Feb 2015 18:49:47 +0000 (10:49 -0800)
If your stdlib.h doesn't define this you should fix your stdlib.h.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/compiler.h

index 9a5dbcfd3a4a1d180f34c2e726ca631ee17d6309..d513284bb68ce19a0ddf003daf932ee052b67a99 100644 (file)
@@ -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