Mercurial > hg > early-roguelike
view 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 |
line wrap: on
line source
/* * version number. * * Super-Rogue * Copyright (C) 1984 Robert D. Kindelberger * All rights reserved. * * Based on "Rogue: Exploring the Dungeons of Doom" * Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman * All rights reserved. * * See the file LICENSE.TXT for full copyright and licensing information. */ char version[] = "@(#)vers.c 9.0 (rdk) 7/17/84"; char *release = "9.0 RDK 7/17/84";