1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-29 04:51:28 +00:00

Use the real gethostid on Solaris. (#121)

* Use the real gethostid on Solaris.

Solaris has this, so we might as well use it like we do on other
platforms. This value is used in response to queries from it from
Lisp.

* Improve undefining of HAS_GETHOSTID.

Enable it on Solaris in `inc/version.h`. This file already
disables it on DOS, so no need to do so again in `src/initsout.c`.
This commit is contained in:
Bruce Mitchener
2020-12-24 10:55:58 +07:00
committed by GitHub
parent e801373222
commit bf2855be58
3 changed files with 1 additions and 8 deletions

View File

@@ -40,10 +40,6 @@
#include "osmsgdefs.h"
#include "uraiddefs.h"
#ifdef OS5
#define gethostid() 0
#endif /* OS5 */
/************************************************************************/
/* */
/* l i s p _ s t r i n g _ t o _ c _ s t r i n g */