pyodbc: use WORDS_BIGENDIAN instead of OS-specific defines
authorDaniel Golle <redacted>
Mon, 17 Jul 2017 12:06:12 +0000 (14:06 +0200)
committerDaniel Golle <redacted>
Mon, 17 Jul 2017 12:36:48 +0000 (14:36 +0200)
commit7a2623d12d44458c624deccd0eac06ae316f42ac
treea11f2f648e99c08902797c8486c912d75220749d
parent47ce2f94af851f11f22a7595ed5b98243772c350
pyodbc: use WORDS_BIGENDIAN instead of OS-specific defines

Python provides the WORDS_BIGENDIAN macro, use it to figure out the
native endian of the host.

Signed-off-by: Daniel Golle <redacted>
lang/python/pyodbc/Makefile
lang/python/pyodbc/patches/100-connection-assume-SQL_C_WCHAR-is-native-endian.patch
git clone https://git.99rst.org/PROJECT