diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-03 11:35:33 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-03 11:35:33 -0700 |
commit | fc8c44e3d567a5a3cd1b373bd588015296a5a6f3 (patch) | |
tree | ade3bfd91c7e92ed83ea79219ed773fbc009ee0e /src/qt | |
parent | 703d64469eb2b607adcd864555b5fe1d981bf51f (diff) | |
parent | 52d3a48128b66e731afd54cec7cab0a687d303cf (diff) | |
download | bitcoin-fc8c44e3d567a5a3cd1b373bd588015296a5a6f3.tar.xz |
Merge pull request #949 from laanwj/2012_03_vc2010compilefixes
VC2010 compile fixes
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoin.cpp | 3 | ||||
-rw-r--r-- | src/qt/transactiondesc.cpp | 2 | ||||
-rw-r--r-- | src/qt/walletmodel.h | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 68f750ddaf..6ee7fed5c9 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -123,6 +123,9 @@ std::string _(const char* psz) return QCoreApplication::translate("bitcoin-core", psz).toStdString(); } +#ifdef WIN32 +#define strncasecmp strnicmp +#endif #ifndef BITCOIN_QT_TEST int main(int argc, char *argv[]) { diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp index 089fe751b8..4cb2e68d0f 100644 --- a/src/qt/transactiondesc.cpp +++ b/src/qt/transactiondesc.cpp @@ -1,4 +1,4 @@ -#include <transactiondesc.h> +#include "transactiondesc.h" #include "guiutil.h" #include "bitcoinunits.h" diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index 4123240e90..e894842499 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -10,8 +10,9 @@ class AddressTableModel; class TransactionTableModel; class CWallet; -struct SendCoinsRecipient +class SendCoinsRecipient { +public: QString address; QString label; qint64 amount; |