summaryrefslogtreecommitdiff
path: root/Nt/386/include/lib9.h
diff options
context:
space:
mode:
authorYaroslav Kolomiiets <yarikos@gmail.com>2017-04-20 15:34:09 +0300
committerYaroslav Kolomiiets <yarikos@gmail.com>2017-04-20 15:34:09 +0300
commitb743441fb25b17bc7b81d3fb599b4ff5f149368b (patch)
treec599f6c063ac62e09483db72e036d51b81f21216 /Nt/386/include/lib9.h
parente1178c6dd91d094915c837eb2cf9c854153f00e9 (diff)
parenteff2572ef4ea7e56bedf17ceacdcea226e31abb2 (diff)
Merged default into AIX-powerAIX-power
Diffstat (limited to 'Nt/386/include/lib9.h')
-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