Mesa (master): mesa: Remove definition of NULL.
Matt Turner
mattst88 at kemper.freedesktop.org
Mon Feb 23 18:50:24 UTC 2015
Module: Mesa
Branch: master
Commit: 08bc7cf8f641812a48e9d9a416611795e2736489
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08bc7cf8f641812a48e9d9a416611795e2736489
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Feb 20 20:23:26 2015 -0800
mesa: Remove definition of NULL.
If your stdlib.h doesn't define this you should fix your stdlib.h.
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/mesa/main/compiler.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 9a5dbcf..d513284 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
More information about the mesa-commit
mailing list