make srmio details in version dialog conditionally

... so that GC keeps building with older srmio versions.

[cherry picked from master]
This commit is contained in:
Rainer Clasen
2013-06-24 23:39:04 +02:00
committed by Mark Liversedge
parent d8a5a62f71
commit 4b19b2bb99

View File

@@ -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 ----