diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2017-04-15 15:35:40 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2017-04-15 15:35:40 +0100 |
| commit | 9f87c1613c0385e8264a2e5eca8f503cc446fbf1 (patch) | |
| tree | 1cf6c12718d911236d7c8dff41b81d4d97d38dfa /utils/rcsh/rc.h | |
| parent | 128369f1bb02022b2f5f59fca37f2025c49e2651 (diff) | |
MS include files now #define environ,
which messes up its use as field of struct, so undef it,
unless needed for Windows interface, as controlled by INFERNO_KEEPENVIRON.
Only rc and mk need extern char**environ
Diffstat (limited to 'utils/rcsh/rc.h')
| -rw-r--r-- | utils/rcsh/rc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/rcsh/rc.h b/utils/rcsh/rc.h index f7d56746..d01150a6 100644 --- a/utils/rcsh/rc.h +++ b/utils/rcsh/rc.h @@ -1,3 +1,4 @@ +#define INFERNO_KEEPENVIRON #include <lib9.h> #define Lock Rclock |
