diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-05-17 23:20:47 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-05-17 23:20:47 +0200 |
commit | f4ac41806af5766199a7d526a7becbcb8a0f5ab3 (patch) | |
tree | 2f50d38cec1574a54461e6a85fa9eff6d7ebc468 /src/init.cpp | |
parent | f1e7570755587e37c60cf652a398fafe40eb3008 (diff) |
use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add missing "#define strncasecmp _strnicmp" in init.cpp
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index b027a53d81..15eb883ac9 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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) |