mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Use sys.byteorder == "big"
This commit is contained in:
parent
9ef46159ba
commit
5e9336af4c
|
@ -4,7 +4,6 @@ Helper functions.
|
|||
|
||||
import logging
|
||||
import os
|
||||
import platform
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
|
@ -350,7 +349,7 @@ def on_ci():
|
|||
|
||||
|
||||
def is_big_endian():
|
||||
return platform.processor() == "s390x"
|
||||
return sys.byteorder == "big"
|
||||
|
||||
|
||||
def is_win32():
|
||||
|
|
Loading…
Reference in New Issue
Block a user