Disable cmd params depending on compile flags

This commit is contained in:
SChernykh
2023-03-20 09:17:59 +01:00
parent 634039e551
commit d4a57370ef
2 changed files with 8 additions and 0 deletions

View File

@@ -53,7 +53,11 @@ struct Params
std::string m_socks5Proxy;
bool m_dns = true;
uint32_t m_p2pExternalPort = 0;
#ifdef WITH_UPNP
bool m_upnp = true;
#else
bool m_upnp = false;
#endif
};
} // namespace p2pool