randomenv: consolidate WIN32 #ifdefs

Order includes.
Remove // for xyz comments
This commit is contained in:
fanquake
2023-01-05 19:40:39 +00:00
parent fff80cd248
commit b358bde020

View File

@@ -13,22 +13,21 @@
#include <compat/cpuid.h> #include <compat/cpuid.h>
#include <crypto/sha512.h> #include <crypto/sha512.h>
#include <support/cleanse.h> #include <support/cleanse.h>
#include <util/time.h> // for GetTime() #include <util/time.h>
#ifdef WIN32
#include <windows.h>
#include <winreg.h>
#endif
#include <algorithm> #include <algorithm>
#include <atomic> #include <atomic>
#include <cstdint>
#include <cstring>
#include <chrono> #include <chrono>
#include <climits> #include <climits>
#include <thread> #include <thread>
#include <vector> #include <vector>
#include <stdint.h> #ifdef WIN32
#include <string.h> #include <windows.h>
#ifndef WIN32 #include <winreg.h>
#else
#include <sys/types.h> // must go before a number of other headers #include <sys/types.h> // must go before a number of other headers
#include <fcntl.h> #include <fcntl.h>
#include <netinet/in.h> #include <netinet/in.h>