From: Mikko Rasa Date: Tue, 17 Sep 2019 16:13:39 +0000 (+0300) Subject: Fix Windows platform checks X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=74538354827db601148c1c7e53d9ec5f0ac6fd25;p=builder.git Fix Windows platform checks --- 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;