From: Bruno Haible Date: Sun, 27 Nov 2011 23:44:07 +0000 (+0100) Subject: getcwd: Fix link error on MSVC 9. X-Git-Tag: v0.1~1400 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=ee939eeffba5016bc6973956e811dfe12a5801e1;p=gnulib.git getcwd: Fix link error on MSVC 9. * modules/getcwd (Depends-on): Add readdir, rewinddir. --- diff --git a/ChangeLog b/ChangeLog index 0ef0571e2..9f8b30bc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-11-27 Bruno Haible + getcwd: Fix link error on MSVC 9. + * modules/getcwd (Depends-on): Add readdir, rewinddir. + +2011-11-27 Bruno Haible + Don't set REPLACE_FOO to 1 if HAVE_FOO is 0. * m4/opendir.m4 (gl_FUNC_OPENDIR): Don't set REPLACE_OPENDIR to 1 if HAVE_OPENDIR is 0. diff --git a/modules/getcwd b/modules/getcwd index 3677316df..77ad097ca 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -21,6 +21,8 @@ fdopendir [test $REPLACE_GETCWD = 1] fstat [test $REPLACE_GETCWD = 1] fstatat [test $REPLACE_GETCWD = 1] opendir [test $REPLACE_GETCWD = 1] +readdir [test $REPLACE_GETCWD = 1] +rewinddir [test $REPLACE_GETCWD = 1] closedir [test $REPLACE_GETCWD = 1] stdbool [test $REPLACE_GETCWD = 1] malloc-posix [test $REPLACE_GETCWD = 1]