Commit ec84768f authored by Eli Zaretskii's avatar Eli Zaretskii

Fix MS-Windows build following 2012-11-21T21:06:52Z!eggert@cs.ucla.edu.

 src/w32.c (getcwd): Fix the 2nd argument type, to prevent conflicts
 with Windows system header.

Fixes: debbugs:12945
parent 723da6aa
2012-11-22 Eli Zaretskii <eliz@gnu.org>
* w32.c (getcwd): Fix the 2nd argument type, to prevent conflicts
with Windows system header.
2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
......
......@@ -908,7 +908,7 @@ static char startup_dir[MAXPATHLEN];
/* Get the current working directory. */
char *
getcwd (char *dir, size_t dirsize)
getcwd (char *dir, int dirsize)
{
if (!dirsize)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment