Bug TD-42

- TD-42 Cannot compile taskd - GNUTLS_VERSION undefined in diag.cpp (thanks
        to Michele Vetturi).
This commit is contained in:
Paul Beckingham 2014-03-03 21:15:02 -05:00
parent 26260ec44c
commit ed8741e242
3 changed files with 7 additions and 0 deletions

View file

@ -165,7 +165,11 @@ int CmdDiagnostics::execute (std::string& output)
out << " libgnutls: "
#ifdef HAVE_LIBGNUTLS
#ifdef GNUTLS_VERSION
<< GNUTLS_VERSION
#elif LIBGNUTLS_VERSION
<< LIBGNUTLS_VERSION
#endif
#else
<< "n/a"
#endif