projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfcdb84
)
mesa: Remove definition of NULL.
author
Matt Turner
<mattst88@gmail.com>
Sat, 21 Feb 2015 04:23:26 +0000
(20:23 -0800)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index 9a5dbcfd3a4a1d180f34c2e726ca631ee17d6309..d513284bb68ce19a0ddf003daf932ee052b67a99 100644
(file)
--- 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