From ee939eeffba5016bc6973956e811dfe12a5801e1 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 28 Nov 2011 00:44:07 +0100 Subject: [PATCH] getcwd: Fix link error on MSVC 9. * modules/getcwd (Depends-on): Add readdir, rewinddir. --- ChangeLog | 5 +++++ modules/getcwd | 2 ++ 2 files changed, 7 insertions(+) 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] -- 2.11.0