1
0
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:
Bruce Mitchener
2021-01-14 00:54:54 +07:00
committed by GitHub
parent 62a8d400ce
commit 0fbf5e8281
8 changed files with 58 additions and 67 deletions

View File

@@ -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 */