WIN32 macro -> _WIN32

This commit is contained in:
Connor McLaughlin
2021-06-28 20:16:48 +10:00
parent 489de3f9ce
commit 911e9a37f1
41 changed files with 123 additions and 123 deletions

View File

@ -2,7 +2,7 @@
#include <cstdio>
#include <cstdlib>
#ifdef WIN32
#ifdef _WIN32
#include "windows_headers.h"
#else
#include <sys/time.h>
@ -12,7 +12,7 @@
namespace Common {
#ifdef WIN32
#ifdef _WIN32
static double s_counter_frequency;
static bool s_counter_initialized = false;
@ -250,7 +250,7 @@ void Timer::HybridSleep(std::uint64_t ns, std::uint64_t min_sleep_time)
void Timer::NanoSleep(std::uint64_t ns)
{
#if defined(WIN32)
#if defined(_WIN32)
HANDLE timer = GetSleepTimer();
if (timer)
{