diff options
author | Way, No <noway@2ch.hk> | 2015-01-15 07:50:45 +1000 |
---|---|---|
committer | Way, No <noway@2ch.hk> | 2015-01-15 07:50:45 +1000 |
commit | 23c87d4e258c161f45b4fe4c89d832ad5fc116ba (patch) | |
tree | af7df77b8900a65521e1e474ac4ef917f00f8f23 | |
parent | eef75ba3c31bb77951575049588d7165683a4d52 (diff) | |
download | Nim-23c87d4e258c161f45b4fe4c89d832ad5fc116ba.tar.gz |
changed architecture detection
-rwxr-xr-x | build.bat | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build.bat b/build.bat index 5214944c0..b68d626f6 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 |