summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--modules/getcwd2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ef0571e2d..9f8b30bc7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-11-27 Bruno Haible <bruno@clisp.org>
+ getcwd: Fix link error on MSVC 9.
+ * modules/getcwd (Depends-on): Add readdir, rewinddir.
+
+2011-11-27 Bruno Haible <bruno@clisp.org>
+
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 3677316dfa..77ad097ca3 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]