From 23c87d4e258c161f45b4fe4c89d832ad5fc116ba Mon Sep 17 00:00:00 2001 From: "Way, No" Date: Thu, 15 Jan 2015 07:50:45 +1000 Subject: [PATCH] changed architecture detection --- build.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.bat b/build.bat index 5214944c09..b68d626f63 100755 --- a/build.bat +++ b/build.bat @@ -4,7 +4,9 @@ if not exist "csources"( ) cd "csources" -if exist "C:\Program Files (x86)" ( + +for /f "skip=1 delims=" %%x in ('wmic cpu get addresswidth') do if not defined AddressWidth set AddressWidth=%%x +if %AddressWidth%==64 ( call build64.bat ) else ( call build.bat