1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 23:46:14 +00:00

Take NOETHER out of SunOS5 (Solaris) configuration so the network is accessible.

Fix ldeether.c main program so that if NOETHER is present without removing the dlpi.o dependency it still links.

	modified:   inc/version.h
	modified:   src/ldeether.c
This commit is contained in:
Nick Briggs 2020-07-26 20:35:18 -04:00
parent a60e33bc17
commit 832f76f56b
2 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,6 @@ typedef signed char s_char;
#define WAITINT 1
#define L_SET SEEK_SET
#define NOFORN
#define NOETHER
#define LOCK_X_UPDATES 1
#endif /* OS5 */

View File

@ -18,6 +18,7 @@ static char *id = "$Id: ldeether.c,v 1.3 2001/12/24 01:09:04 sybalsky Exp $ Copy
#ifdef NOETHER
/* No ethernet, so have a dummy here. */
unsigned char ether_host[6] = {0, 0, 0, 0, 0, 0}; /* 48 bit address */
int main(int argc, char *argv[]) { return (0); }
#else
/* THERE -IS- AN ETHERNET */