dressupgeekout / lunapurpura

Reimplementation of Purple Moon's games from the 1990s (WIP) - NOTE: ScummVM port in progress
https://dressupgeekout.github.io/lunapurpura/
BSD 2-Clause "Simplified" License
8 stars 1 forks source link

lputil: Proper support for big-endian platforms with the various Read*() functions #31

Open dressupgeekout opened 4 years ago

dressupgeekout commented 4 years ago

Determine at configure-time whether we're building for a big-endian or a little-endian machine, which in turn will enable or disable such things as htons(3) from happening


I'm putting this up as a pull request because I want to make sure this is right. The real test is to actually get this thing built on a big-endian machine. I plan on using QEMU to help out with testing, since I only have Intel hardware on hand