From 4b19b2bb9912e6d506ba13fae4ae778acf2053fa Mon Sep 17 00:00:00 2001 From: Rainer Clasen Date: Mon, 24 Jun 2013 23:39:04 +0200 Subject: [PATCH] make srmio details in version dialog conditionally ... so that GC keeps building with older srmio versions. [cherry picked from master] --- src/GcCrashDialog.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/GcCrashDialog.cpp b/src/GcCrashDialog.cpp index a00071caa..de168f54f 100644 --- a/src/GcCrashDialog.cpp +++ b/src/GcCrashDialog.cpp @@ -145,7 +145,11 @@ QString GcCrashDialog::versionHTML() QString srmio = "none"; #ifdef GC_HAVE_SRMIO - srmio = QString("%1 commit %2").arg(srmio_version).arg(srmio_commit); + #ifdef SRMIO_VERSION + srmio = QString("%1 %2").arg(SRMIO_VERSION).arg(srmio_commit); + #else + srmio = "yes"; + #endif #endif // -- D2XX ----