Fixed msvc build.

feature-httpd
XMRig 2017-09-02 14:14:10 +03:00
parent fd98dc236a
commit 5591666069
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ set(MHD_LIBRARIES ${MHD_LIBRARY})
# same naming convention as in qt (appending debug library with d)
# boost is using the same "hack" as us with "optimized" and "debug"
# official MHD project actually uses _d suffix
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL MSVC)
find_library(
MHD_LIBRARY_DEBUG
NAMES microhttpd_d microhttpd-10_d libmicrohttpd_d libmicrohttpd-dll_d

View File

@ -54,7 +54,6 @@ public:
static inline Options* i() { return m_self; }
static Options *parse(int argc, char **argv);
inline apiPort() const { return m_apiPort; }
inline bool background() const { return m_background; }
inline bool colors() const { return m_colors; }
inline bool doubleHash() const { return m_doubleHash; }
@ -67,6 +66,7 @@ public:
inline const std::vector<Url*> &pools() const { return m_pools; }
inline int algo() const { return m_algo; }
inline int algoVariant() const { return m_algoVariant; }
inline int apiPort() const { return m_apiPort; }
inline int donateLevel() const { return m_donateLevel; }
inline int printTime() const { return m_printTime; }
inline int priority() const { return m_priority; }