Skip to content

Commit c58a72d

Browse files
committed
Don't define __*_ENDIAN__ macro on Unix.
1 parent bdf0511 commit c58a72d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

setup.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,10 @@ def __init__(self, *args, **kwargs):
7979

8080

8181
libraries = []
82+
macros = []
83+
8284
if sys.platform == "win32":
8385
libraries.append("ws2_32")
84-
85-
if sys.byteorder == "big":
86-
macros = [("__BIG_ENDIAN__", "1")]
87-
else:
8886
macros = [("__LITTLE_ENDIAN__", "1")]
8987

9088
ext_modules = []

0 commit comments

Comments
 (0)