make srmio details in version dialog conditionally

... so that GC keeps building with older srmio versions.
This commit is contained in:
Rainer Clasen
2013-06-24 23:39:04 +02:00
parent a4922690b9
commit bfd4fc807e

View File

@@ -145,7 +145,11 @@ QString GcCrashDialog::versionHTML()
QString srmio = "none";
#ifdef GC_HAVE_SRMIO
srmio = QString("%1 %2").arg(QString(srmio_version).replace("srmio ", "")).arg(srmio_commit);
#ifdef SRMIO_VERSION
srmio = QString("%1 %2").arg(SRMIO_VERSION).arg(srmio_commit);
#else
srmio = "yes";
#endif
#endif
// -- D2XX ----