From a0551d7d6ec3f7c6aa85edbcb00ae79f4a97865f Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sun, 25 Sep 2016 11:13:32 +0530 Subject: dependencies/boost: Fix 32-bit vs 64-bit on Windows Fixes https://github.com/mesonbuild/meson/issues/526 Also removes useless and incorrect mesonlib.is_32bit() function. We cannot trust that the architecture that Python is built for is the same as the one we're targetting. --- mesonbuild/mesonlib.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'mesonbuild/mesonlib.py') diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index 7294a54..abb5641 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -91,9 +91,6 @@ def is_windows(): platname = platform.system().lower() return platname == 'windows' or 'mingw' in platname -def is_32bit(): - return not(sys.maxsize > 2**32) - def is_debianlike(): return os.path.isfile('/etc/debian_version') -- cgit v1.1