mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
<sys/endian.h> doesn't exist on Windows + mingw-w64-ucrt-x86_64. The definition of htole included in this commit is a guess and may be wrong; and it may be wrong to use <winsock.h>.