mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add missing "#define strncasecmp _strnicmp" in init.cpp
This commit is contained in:
parent
f1e7570755
commit
f4ac41806a
2 changed files with 5 additions and 4 deletions
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#ifndef WIN32
|
||||
#include <signal.h>
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
|
@ -162,7 +163,6 @@ bool static InitError(const std::string &str)
|
|||
{
|
||||
ThreadSafeMessageBox(str, _("Bitcoin"), wxOK | wxMODAL);
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
bool static InitWarning(const std::string &str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue