// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
-// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+// file COPYING or https://www.opensource.org/licenses/mit-license.php .
#include "random.h"
#include "support/cleanse.h"
-#ifdef WIN32
+#ifdef _WIN32
#include "compat.h" // for Windows API
#endif
#include "serialize.h" // for begin_ptr(vec)
#include <limits>
-#ifndef WIN32
+#ifndef _WIN32
#include <sys/time.h>
#endif
static inline int64_t GetPerformanceCounter()
{
int64_t nCounter = 0;
-#ifdef WIN32
+#ifdef _WIN32
QueryPerformanceCounter((LARGE_INTEGER*)&nCounter);
#else
timeval t;