Windows compilation support.
This commit is contained in:
parent
3c856e9aae
commit
42216bbb55
14 changed files with 1817 additions and 14 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue