]> granicus.if.org Git - graphviz/commitdiff
suppress some redefinition warnings caused by ming.h
authorellson <devnull@localhost>
Thu, 18 Oct 2007 17:11:41 +0000 (17:11 +0000)
committerellson <devnull@localhost>
Thu, 18 Oct 2007 17:11:41 +0000 (17:11 +0000)
plugin/ming/gvrender_ming.c

index 7ced406f54e7537d33600ce811e548af3d058065..1a108572a2a8981b25de8ab12206e56c9bc1b3aa 100644 (file)
 #include <string.h>
 #include "gvplugin_render.h"
 
+/* from config.h - would conflict with ming.h definitions */
+#undef PACKAGE
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
+#undef VERSION
+
 #include <ming.h>
 
 static char *script =