diff options
| author | Eli Zaretskii | 2012-11-22 05:56:38 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-11-22 05:56:38 +0200 |
| commit | ec84768f9754d5943610cbbd048dc4d4a46d847f (patch) | |
| tree | 7159daa67006d968c3ab7d2c221394a2ee4cd2ff /src/w32.c | |
| parent | 723da6aa83d8308623ed56aff31a4171fae029ee (diff) | |
| download | emacs-ec84768f9754d5943610cbbd048dc4d4a46d847f.tar.gz emacs-ec84768f9754d5943610cbbd048dc4d4a46d847f.zip | |
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
Diffstat (limited to 'src/w32.c')
| -rw-r--r-- | src/w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -908,7 +908,7 @@ static char startup_dir[MAXPATHLEN]; | |||
| 908 | 908 | ||
| 909 | /* Get the current working directory. */ | 909 | /* Get the current working directory. */ |
| 910 | char * | 910 | char * |
| 911 | getcwd (char *dir, size_t dirsize) | 911 | getcwd (char *dir, int dirsize) |
| 912 | { | 912 | { |
| 913 | if (!dirsize) | 913 | if (!dirsize) |
| 914 | { | 914 | { |