Fix linux build.

This commit is contained in:
XMRig 2017-06-14 16:11:01 +03:00
parent 8ebb659cd6
commit 5af169fd7b
11 changed files with 220 additions and 3 deletions

View file

@ -64,7 +64,7 @@ char *Network::userAgent()
# ifdef __GNUC__
length += snprintf(buf + length, max - length, " gcc/%d.%d.%d", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
#elif _MSC_VER
# elif _MSC_VER
length += snprintf(buf + length, max - length, " msvc/%d", MSVC_VERSION);
# endif