projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f16df
)
gallium: undef PACKAGE_* macros to silence warnings
author
Brian Paul
<brianp@vmware.com>
Mon, 25 Mar 2013 16:24:01 +0000
(10:24 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 25 Mar 2013 18:24:11 +0000
(12:24 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 6a560df065ab060eca6c3e79cc5172c41c1b5a67..46cdbad268302c396dc97dd2014c3c357910fefb 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@
-40,6
+40,14
@@
#define __STDC_CONSTANT_MACROS
#endif
+// Undef these vars just to silence warnings
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
+
+
#include <stddef.h>
#include <llvm-c/Core.h>