aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.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/qt/bitcoin.cpp
parentc0a360ce49f09654c09d2eb66a1bdd03aba7e77b (diff)
downloadbitcoin-f9dd136a09f31cfaffdb7ecad64e199d758ef32b.tar.xz
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/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 528c68b1fc..9452f7e1e3 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -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[])
{