From 74538354827db601148c1c7e53d9ec5f0ac6fd25 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 17 Sep 2019 19:13:39 +0300 Subject: [PATCH] Fix Windows platform checks --- source/architecture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/architecture.cpp b/source/architecture.cpp index 627ba66..ba25afd 100644 --- a/source/architecture.cpp +++ b/source/architecture.cpp @@ -1,5 +1,5 @@ #include -#ifndef WIN32 +#ifndef _WIN32 #include #endif #include @@ -86,7 +86,7 @@ Architecture::Architecture(Builder &b, const string &spec): { if(spec.empty()) { -#ifdef WIN32 +#ifdef _WIN32 system = "windows"; #else utsname un; -- 2.43.0