From f9dd136a09f31cfaffdb7ecad64e199d758ef32b Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Thu, 17 May 2012 20:14:24 -0400 Subject: 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. --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index 15eb883ac..b027a53d8 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -16,7 +16,6 @@ #ifndef WIN32 #include -#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) -- cgit v1.2.3