Add libmicrohttpd version to --version output.

This commit is contained in:
XMRig 2018-01-05 19:41:19 +07:00
parent 8b7a737ceb
commit 49b45ddd18

View file

@ -33,6 +33,11 @@
#endif
#ifndef XMRIG_NO_HTTPD
# include <microhttpd.h>
#endif
#include "Cpu.h"
#include "donate.h"
#include "net/Url.h"
@ -665,6 +670,10 @@ void Options::showVersion()
"\n");
printf("\nlibuv/%s\n", uv_version_string());
# ifndef XMRIG_NO_HTTPD
printf("libmicrohttpd/%s\n", MHD_get_version());
# endif
}