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 "types.h"
#include "string.h"
#if defined(WIN32)
#if defined(_WIN32)
#include "windows_headers.h"
#else
#include <sys/time.h>
@@ -51,7 +51,7 @@ public:
static Timestamp FromExpandedTime(const ExpandedTime& value);
// windows-specific
#ifdef WIN32
#ifdef _WIN32
FILETIME AsFileTime();
void SetWindowsFileTime(const FILETIME* pFileTime);
static Timestamp FromWindowsFileTime(const FILETIME* pFileTime);
@@ -67,7 +67,7 @@ public:
Timestamp& operator=(const Timestamp& other);
private:
#if defined(WIN32)
#if defined(_WIN32)
SYSTEMTIME m_value;
#else
struct timeval m_value;