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:
@@ -2070,6 +2070,9 @@ E void VDECL(error, (const char *,...)) PRINTF_F(1,2);
|
||||
#ifdef UNIX
|
||||
E void NDECL(getlock);
|
||||
E void FDECL(regularize, (char *));
|
||||
# if defined(TIMED_DELAY) && !defined(msleep) && defined(SYSV)
|
||||
E void FDECL(msleep, (unsigned));
|
||||
# endif
|
||||
# ifdef SHELL
|
||||
E int NDECL(dosh);
|
||||
# endif /* SHELL */
|
||||
|
||||
Reference in New Issue
Block a user