Added define USING_VIRT_VIEWER when compiling virt-viewer. This will be needed when compiling virt-viewer with the "Reconnect" GUI button, because it can be only implemented in virt-viewer and not remote-viewer. --- I thought of many other ways around this, but ultimately, ifdef seemed like the cleanest option to me. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.am b/src/Makefile.am index e76f5bc..3550404 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -95,6 +95,7 @@ virt_viewer_LDFLAGS = \ $(SPICE_GTK_LIBS) \ $(NULL) virt_viewer_CFLAGS = \ + -DUSING_VIRT_VIEWER \ -DLOCALE_DIR=\""$(datadir)/locale"\" \ -DG_LOG_DOMAIN=\"virt-viewer\" \ $(GLIB2_CFLAGS) \ -- 2.4.0 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list