diff --git a/src/commands/CmdDiagnostics.cpp b/src/commands/CmdDiagnostics.cpp index b9016e609..a21200d4e 100644 --- a/src/commands/CmdDiagnostics.cpp +++ b/src/commands/CmdDiagnostics.cpp @@ -33,9 +33,7 @@ #include #include #include -#ifdef HAVE_COMMIT #include -#endif #ifdef HAVE_LIBLUA extern "C" @@ -143,12 +141,8 @@ int CmdDiagnostics::execute (std::string& output) // Build date. << " Built: " << __DATE__ << " " << __TIME__ << "\n" -#ifdef HAVE_COMMIT << " Commit: " << COMMIT << "\n" -#endif -#ifdef HAVE_CMAKE << " CMake: " << CMAKE_VERSION << "\n" -#endif << " Caps:" #ifdef HAVE_LIBPTHREAD << " +pthreads"