gallium: undef PACKAGE_* macros to silence warnings
authorBrian Paul <brianp@vmware.com>
Mon, 25 Mar 2013 16:24:01 +0000 (10:24 -0600)
committerBrian 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

index 6a560df065ab060eca6c3e79cc5172c41c1b5a67..46cdbad268302c396dc97dd2014c3c357910fefb 100644 (file)
 #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>