Windows compilation support.

This commit is contained in:
Haifa Bogdan Adnan 2019-08-27 11:32:23 +03:00
parent 3c856e9aae
commit 42216bbb55
14 changed files with 1817 additions and 14 deletions

View file

@ -67,6 +67,10 @@ xmrig::String::String(const String &other) :
memcpy(m_data, other.m_data, m_size + 1);
}
#ifdef _MSC_VER
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#endif
bool xmrig::String::isEqual(const char *str, bool caseInsensitive) const
{