diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-08-29 20:25:37 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-08-29 20:25:37 +0200 |
commit | 4d1d94c56cf60e22e9199f8c37c5634752b570f5 (patch) | |
tree | fff3e36bee446458372cbed586c8e65dd94b6c94 /src/main.cpp | |
parent | 61d85071405b99c3734606eed31ea8f615c0c77a (diff) |
Rename CreateThread to NewThread
Prevent clash with win32 API symbol
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 71d425e15f..cfbb2d2731 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4025,8 +4025,8 @@ void GenerateBitcoins(bool fGenerate, CWallet* pwallet) printf("Starting %d BitcoinMiner threads\n", nAddThreads); for (int i = 0; i < nAddThreads; i++) { - if (!CreateThread(ThreadBitcoinMiner, pwallet)) - printf("Error: CreateThread(ThreadBitcoinMiner) failed\n"); + if (!NewThread(ThreadBitcoinMiner, pwallet)) + printf("Error: NewThread(ThreadBitcoinMiner) failed\n"); Sleep(10); } } |