summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compiler.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-02-20 20:23:26 -0800
committerMatt Turner <mattst88@gmail.com>2015-02-23 10:49:47 -0800
commit08bc7cf8f641812a48e9d9a416611795e2736489 (patch)
treeb3bc3fa8860cd3f624132ae58094c88d71e2e8e6 /src/mesa/main/compiler.h
parentbfcdb843830bba0190e00e35e3c5c18c4bdb5de1 (diff)
downloadexternal_mesa3d-08bc7cf8f641812a48e9d9a416611795e2736489.zip
external_mesa3d-08bc7cf8f641812a48e9d9a416611795e2736489.tar.gz
external_mesa3d-08bc7cf8f641812a48e9d9a416611795e2736489.tar.bz2
mesa: Remove definition of NULL.
If your stdlib.h doesn't define this you should fix your stdlib.h. Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/main/compiler.h')
-rw-r--r--src/mesa/main/compiler.h4
1 files changed, 0 insertions, 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