diff options
author | simonb <simonb@NetBSD.org> | 1999-12-30 01:40:08 +0000 |
---|---|---|
committer | simonb <simonb@NetBSD.org> | 1999-12-30 01:40:08 +0000 |
commit | c83a77b4ec3b4473778b5ea0a5ae283fc4114a4c (patch) | |
tree | 8af3f27332733d4ca47e3c1e6350baa3a5e8894f /tetris | |
parent | 73356fc8566dc0d1ed801778240a6b9bca36ba5e (diff) | |
download | bsdgames-darwin-c83a77b4ec3b4473778b5ea0a5ae283fc4114a4c.tar.gz bsdgames-darwin-c83a77b4ec3b4473778b5ea0a5ae283fc4114a4c.tar.zst bsdgames-darwin-c83a77b4ec3b4473778b5ea0a5ae283fc4114a4c.zip |
Don't use <err.h>. Use ANSI prototypes (no dependance on the __P()
macro). Add new fwrite_be_offt() function which writes out a big-endian
64bit number regards of the size of off_t on the host machine.
Also fix ``bug'' in previous - even though the off_t pointers were
stored big-endian, the individual card lenghs were in host-order. The
cards.pck files are now identical when make on a big- or little-endian
machine.
Now builds a correct cards.pck file on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).
Diffstat (limited to 'tetris')
0 files changed, 0 insertions, 0 deletions