From 30ceec5d3541f1a6bfb65df6b99339bee9976d79 Mon Sep 17 00:00:00 2001 From: Tomasz Konojacki Date: Tue, 19 Apr 2022 16:41:23 +0200 Subject: don't use environ on Windows environ is managed by the C runtime, while we are using the system APIs directly. --- dosish.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dosish.h') 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: */ -- cgit v1.2.1