summaryrefslogtreecommitdiff
path: root/Nt/386/include
diff options
context:
space:
mode:
authorValery Ushakov <uwe@stderr.spb.ru>2017-08-17 00:13:41 +0300
committerValery Ushakov <uwe@stderr.spb.ru>2017-08-17 00:13:41 +0300
commit4a062f32e3dd93bf371feb27f3ccc28d7930099e (patch)
tree3f82934c7fd112eecc65efa0db68ed759028f76e /Nt/386/include
parentc12c42236c5882afe34356ec8e4088a6ac9c3629 (diff)
parent8823998c509302a526d8711095f664dd06997234 (diff)
Merged with inferno-os/inferno-os via default.
Diffstat (limited to 'Nt/386/include')
-rwxr-xr-xNt/386/include/lib9.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Nt/386/include/lib9.h b/Nt/386/include/lib9.h
index d10c51ed..fd48f043 100755
--- a/Nt/386/include/lib9.h
+++ b/Nt/386/include/lib9.h
@@ -16,7 +16,11 @@
#define strtod infstrtod
#define strtoll infstrtoll
#define strtoull infstrtoull
+#ifndef INFERNO_KEEPENVIRON
+/* environ is perfectly legal as the name of a local, field name or struct, but windows redefines it */
+/* the extern char** environ is only needed by two programs, so #undef it for everything else */
#undef environ
+#endif
/* do-it-yourself isinf and isnan */
#ifndef isnan