diff options
| author | Jeff Garzik <[email protected]> | 2012-05-17 15:53:38 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-05-17 15:53:38 -0700 |
| commit | c0a360ce49f09654c09d2eb66a1bdd03aba7e77b (patch) | |
| tree | 9f3b6b6fe88c781c1453a77abdef35a17b4083df /src/qt/bitcoin.cpp | |
| parent | Merge pull request #1314 from Diapolo/Wallet_Transaction_state_Overviewpage (diff) | |
| parent | use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add missin... (diff) | |
| download | discoin-c0a360ce49f09654c09d2eb66a1bdd03aba7e77b.tar.xz discoin-c0a360ce49f09654c09d2eb66a1bdd03aba7e77b.zip | |
Merge pull request #1345 from Diapolo/strnicmp_Win32
Win32: use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX)
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 9452f7e1e..528c68b1f 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -33,6 +33,10 @@ 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; @@ -177,9 +181,6 @@ void HelpMessageBox::exec() #endif } -#ifdef WIN32 -#define strncasecmp strnicmp -#endif #ifndef BITCOIN_QT_TEST int main(int argc, char *argv[]) { |