summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-03-25 10:24:01 -0600
committerBrian Paul <brianp@vmware.com>2013-03-25 12:24:11 -0600
commiteb92f8958705320374b080c7f8d6ece7407e7cbe (patch)
tree04d303887d00f8270d17d2dc1e8b5adbfb3bad04 /src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
parentc0f16df9389c101586bea9aa5ab75798272e183e (diff)
gallium: undef PACKAGE_* macros to silence warnings
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_misc.cpp')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_misc.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 6a560df065a..46cdbad2683 100644
--- 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>