Mercurial > hg > early-roguelike
comparison srogue/vers.c @ 207:3def5e487faa
XRogue: fix md_htonl() and md_ntohl().
xcrypt requires them. The implementations in state.c used htonl() and
ntohl(), which aren't available on Windows. So the Advanced Rogue 7
versions were copied over.
This implementation could be problematic on other systems where
sizeof(long) == 8. Maybe someday I can convert everything to C99 and
use stdint.h.
author | John "Elwin" Edwards |
---|---|
date | Thu, 13 Aug 2015 17:17:40 -0400 |
parents | 2128c7dc8a40 |
children |
comparison
equal
deleted
inserted
replaced
206:a3d90e31a001 | 207:3def5e487faa |
---|