mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-04 20:28:33 +00:00
Haiku OS port (#485)
* Haiku OS port * haiku with X11 backend * haiku has stpncpy * Haiku is not Linux. * X not stable enough on Haiku * Haiku : settimeofday is a no-op * Haiku : no need to define settimeofday at all (pointed by nbriggs) --------- Signed-off-by: Anarchos <sylvain_kerjean@hotmail.com>
This commit is contained in:
@@ -140,9 +140,9 @@ void init_ifpage(unsigned sysout_size) {
|
||||
#endif /* BIGVM */
|
||||
|
||||
/* unfortunately, Lisp only looks at a 16 bit serial number */
|
||||
#ifndef DOS
|
||||
#if !defined(DOS) && !defined(MAIKO_OS_HAIKU)
|
||||
InterfacePage->serialnumber = 0xffff & gethostid();
|
||||
#endif /* DOS */
|
||||
#endif /* DOS MAIKO_OS_HAIKU */
|
||||
|
||||
/* 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
|
||||
|
||||
Reference in New Issue
Block a user