mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
randomenv: consolidate WIN32 #ifdefs
Order includes. Remove // for xyz comments
This commit is contained in:
parent
fff80cd248
commit
b358bde020
1 changed files with 7 additions and 8 deletions
|
@ -13,22 +13,21 @@
|
|||
#include <compat/cpuid.h>
|
||||
#include <crypto/sha512.h>
|
||||
#include <support/cleanse.h>
|
||||
#include <util/time.h> // for GetTime()
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#include <winreg.h>
|
||||
#endif
|
||||
#include <util/time.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <chrono>
|
||||
#include <climits>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#ifndef WIN32
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#include <winreg.h>
|
||||
#else
|
||||
#include <sys/types.h> // must go before a number of other headers
|
||||
#include <fcntl.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue