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

@ -200,3 +200,4 @@ suggestions:
Hector Arciga
Jan Kunder
jck
Michele Vetturi

View file

@ -31,6 +31,8 @@ Features
- New themes: dark-default-16.theme, dark-gray-blue-256.theme
Bugs
- TD-42 Cannot compile taskd - GNUTLS_VERSION undefined in diag.cpp (thanks
to Michele Vetturi).
- #1511 sync init crashes if client certification file is empty or invalid
(thanks to Marton Suranyi).
- #1508 Show command highlight configuration (thanks to Nicolas Appriou).

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