Commit f5e711bc authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik
Browse files

Revert "use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add...

Revert "use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add missing "#define strncasecmp _strnicmp" in init.cpp"

This reverts commit f4ac4180.

Reason: breaks build.
parent 06f71ad3
Showing with 4 additions and 5 deletions
+4 -5
......@@ -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)
......
......@@ -33,10 +33,6 @@ Q_IMPORT_PLUGIN(qkrcodecs)
Q_IMPORT_PLUGIN(qtaccessiblewidgets)
#endif
#ifdef WIN32
#define strncasecmp _strnicmp
#endif
// Need a global reference for the notifications to find the GUI
static BitcoinGUI *guiref;
static QSplashScreen *splashref;
......@@ -181,6 +177,9 @@ void HelpMessageBox::exec()
#endif
}
#ifdef WIN32
#define strncasecmp strnicmp
#endif
#ifndef BITCOIN_QT_TEST
int main(int argc, char *argv[])
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment