Removed 2 #ifdef in CmdDiagnostics due to cmake only builds

This commit is contained in:
Federico Hernandez 2011-09-14 01:42:36 +02:00
parent 90184081cf
commit e37f0c0db0

View file

@ -33,9 +33,7 @@
#include <Context.h>
#include <util.h>
#include <cmake.h>
#ifdef HAVE_COMMIT
#include <commit.h>
#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"