mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 15:36:34 +00:00
Remove HAS_GETHOSTID. (#218)
This is only true on DOS now. It was previously true on older unsupported platforms, but they are gone now.
This commit is contained in:
parent
7145f0d380
commit
d3efbc3441
@ -208,7 +208,6 @@ error Must specify RELEASE to build Medley.
|
||||
/* Set up defaults */
|
||||
#define NOETHER 1
|
||||
#define UNALIGNED_FETCH_OK
|
||||
#define HAS_GETHOSTID
|
||||
#define UNSIGNED unsigned long
|
||||
#define INT long
|
||||
|
||||
@ -264,7 +263,6 @@ typedef unsigned char u_char;
|
||||
typedef unsigned long u_int;
|
||||
typedef unsigned short u_short;
|
||||
#undef UNALIGNED_FETCH_OK
|
||||
#undef HAS_GETHOSTID
|
||||
#define USHORT unsigned
|
||||
#else
|
||||
#define USHORT unsigned short
|
||||
|
||||
@ -139,10 +139,10 @@ void init_ifpage(int sysout_size) {
|
||||
*LASTVMEMFILEPAGE_word = InterfacePage->dllastvmempage;
|
||||
#endif /* BIGVM */
|
||||
|
||||
/* unfortunately, Lisp only looks at a 16 bit serial number */
|
||||
#ifdef HAS_GETHOSTID
|
||||
/* unfortunately, Lisp only looks at a 16 bit serial number */
|
||||
#ifndef DOS
|
||||
InterfacePage->serialnumber = 0xffff & gethostid();
|
||||
#endif /* HAS_GETHOSTID */
|
||||
#endif /* DOS */
|
||||
|
||||
/* get user name and stuff into vmem; this is the VMEM buffer;
|
||||
This is a BCPL string -- it starts with a length count. C strings
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user