Tweak the Windows oldnames workaround.
commitf08042005f3e70e832c6af9d24e75b75e7df242a
authorBruno Haible <bruno@clisp.org>
Mon, 7 Dec 2020 12:50:53 +0000 (7 13:50 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Dec 2020 12:50:53 +0000 (7 13:50 +0100)
treebd06f69793ef642f1b533648b03e362e6781d842
parentc47a68fed2881939f0ebda75c33c809492b9e9ce
Tweak the Windows oldnames workaround.

Reported by Daniel R. Hurtmans <Daniel.Hurtmans@ulb.ac.be> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00073.html>.

* lib/unistd.in.h: On native Windows, include <io.h> and <direct.h>
always.
(getcwd): Use _GL_CXXALIAS_MDA_CAST.
* lib/stdlib.in.h (putenv): Likewise.
ChangeLog
lib/stdlib.in.h
lib/unistd.in.h