U555 - solaris compilation bits

- If you have Gnome installed on solaris, the GETRES support wouldn't build.
I don't have access to a solaris system with Gnome installed, but hacked
unixconf.h to force the GETRES code itself to be compiled.  So, I believe the
unixres.c change will work for folks really using Gnome on Solaris.
Whether the rest of the gnome code will build there is beyond me.
- I accidentally left TIMED_DELAY defined and the Solaris build failed.
While solaris has usleep(), this is not part of SVR4 as far as I can tell.
But, SysV does have poll, so I implemented msleep() for SysV systems in
terms of poll.  So, you can now define TIMED_DELAY on any SYSV build.
This commit is contained in:
cohrs
2003-07-30 23:19:56 +00:00
parent 4566de6ac0
commit c954ee8a10
4 changed files with 24 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ unix: don't autosave if hangup occurs after game is over
linux: add example use of nroff on recent Linux distros
linux: use random() by default instead of lrand48()
OpenBSD: time() prototype and correct default Mail program
Gnome: compilation problems on Solaris
General New Features
@@ -149,4 +150,5 @@ Platform- and/or Interface-Specific New Features
win32tty: keystroke handlers can be dynamically loaded to assist in resolving
internationalization issues
win32tty: add Ray Chason's code for international keyboard handling
Solaris (and other SystemV variants): TIMED_DELAY support