summaryrefslogtreecommitdiff
path: root/dosish.h
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2022-04-19 16:41:23 +0200
committerxenu <me@xenu.pl>2022-05-29 00:54:10 +0200
commit30ceec5d3541f1a6bfb65df6b99339bee9976d79 (patch)
treeb696086d7015a82a761d9c08467b7f3c78e41b09 /dosish.h
parentae6b6b71cdbfb3fb6e1192178fa1e530a2f07ece (diff)
downloadperl-30ceec5d3541f1a6bfb65df6b99339bee9976d79.tar.gz
don't use environ on Windows
environ is managed by the C runtime, while we are using the system APIs directly.
Diffstat (limited to 'dosish.h')
-rw-r--r--dosish.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dosish.h b/dosish.h
index 91228510c9..c092b4e320 100644
--- a/dosish.h
+++ b/dosish.h
@@ -105,6 +105,10 @@
/* Don't go reading from /dev/urandom */
#define PERL_NO_DEV_RANDOM
+#ifdef WIN32
+# define NO_ENVIRON_ARRAY
+#endif
+
/*
* ex: set ts=8 sts=4 sw=4 et:
*/