mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
Don't define __*_ENDIAN__ macro on Unix. (#495)
This commit is contained in:
parent
bdf0511e29
commit
89ea57747e
2 changed files with 2 additions and 8 deletions
6
setup.py
6
setup.py
|
@ -79,12 +79,10 @@ class Sdist(sdist):
|
|||
|
||||
|
||||
libraries = []
|
||||
macros = []
|
||||
|
||||
if sys.platform == "win32":
|
||||
libraries.append("ws2_32")
|
||||
|
||||
if sys.byteorder == "big":
|
||||
macros = [("__BIG_ENDIAN__", "1")]
|
||||
else:
|
||||
macros = [("__LITTLE_ENDIAN__", "1")]
|
||||
|
||||
ext_modules = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue