aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2012-05-17 20:14:24 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-05-17 20:14:24 -0400
commitf9dd136a09f31cfaffdb7ecad64e199d758ef32b (patch)
treef80d395a0ec4a2a3d857464bac4f84160d1a6bad /src/init.cpp
parentc0a360ce49f09654c09d2eb66a1bdd03aba7e77b (diff)
Revert "use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add missing "#define strncasecmp _strnicmp" in init.cpp"
This reverts commit f4ac41806af5766199a7d526a7becbcb8a0f5ab3. Reason: breaks build.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 15eb883ac9..b027a53d81 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -16,7 +16,6 @@
#ifndef WIN32
#include <signal.h>
-#define strncasecmp _strnicmp
#endif
using namespace std;
@@ -163,6 +162,7 @@ bool static InitError(const std::string &str)
{
ThreadSafeMessageBox(str, _("Bitcoin"), wxOK | wxMODAL);
return false;
+
}
bool static InitWarning(const std::string &str)