Skip to content

Commit 4007ba4

Browse files
committed
Fix Windows and possibly BSDs
1 parent 19a7550 commit 4007ba4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypyc/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
IS_32_BIT_PLATFORM: Final = int(SIZEOF_SIZE_T) == 4
4747

48-
X86_64: Final = platform.machine() == "x86_64"
48+
X86_64: Final = platform.machine() in ("x86_64", "AMD64", "amd64")
4949

5050
PLATFORM_SIZE = 4 if IS_32_BIT_PLATFORM else 8
5151

0 commit comments

Comments
 (0)