pyodbc: use WORDS_BIGENDIAN instead of OS-specific defines
authorDaniel Golle <daniel@makrotopia.org>
Mon, 17 Jul 2017 12:06:12 +0000 (14:06 +0200)
committerDaniel Golle <daniel@makrotopia.org>
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 <daniel@makrotopia.org>
lang/python/pyodbc/Makefile
lang/python/pyodbc/patches/100-connection-assume-SQL_C_WCHAR-is-native-endian.patch