diff options
author | Lamont Granquist <lamont@opscode.com> | 2021-05-07 18:06:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 18:06:11 -0700 |
commit | 7ae2881b828f9f1aee850ce1a06a1329db78c583 (patch) | |
tree | bc8528d62aa431bac80466a74745489600b60d9a | |
parent | df73f738c563374dd42dccf5f10b29a444239f23 (diff) | |
parent | 4bec0dc5ca6725f2b132b7dc64821ab6a684d2d3 (diff) | |
download | chef-7ae2881b828f9f1aee850ce1a06a1329db78c583.tar.gz |
Merge pull request #11547 from chef/lcg/windows-2012r2-i386-segfault
Treat 32bit-on-64bit the same as 32bit
-rw-r--r-- | lib/chef/win32/api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/win32/api.rb b/lib/chef/win32/api.rb index 89a954cc50..893c819da3 100644 --- a/lib/chef/win32/api.rb +++ b/lib/chef/win32/api.rb @@ -43,7 +43,7 @@ class Chef host.ffi_convention :stdcall - win64 = ENV["PROCESSOR_ARCHITECTURE"] == "AMD64" || ENV["PROCESSOR_ARCHITEW6432"] == "AMD64" + win64 = ENV["PROCESSOR_ARCHITECTURE"] == "AMD64" # Windows-specific type defs (ms-help://MS.MSDNQTR.v90.en/winprog/winprog/windows_data_types.htm): host.typedef :ushort, :ATOM # Atom ~= Symbol: Atom table stores strings and corresponding identifiers. Application |