mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-06 08:24:44 +00:00
Rename NOETHER to MAIKO_ENABLE_ETHERNET. (#219)
Like the renaming of NOFORN, this gets rid of some double
negatives. It also removes some patterns where we had:
```
#ifdef NOETHER
#else
...
#endif
```
and replaces them with:
```
#ifdef MAIKO_ENABLE_ETHERNET
...
#endif
```
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "version.h"
|
||||
|
||||
#ifdef NOETHER
|
||||
#ifndef MAIKO_ENABLE_ETHERNET
|
||||
/* 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); }
|
||||
@@ -247,4 +247,4 @@ int main(int argc, char *argv[]) {
|
||||
return (1);
|
||||
}
|
||||
|
||||
#endif /* NOETHER */
|
||||
#endif /* MAIKO_ENABLE_ETHERNET */
|
||||
|
||||
Reference in New Issue
Block a user