summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-11-28 00:44:07 +0100
committerBruno Haible <bruno@clisp.org>2011-11-28 00:44:07 +0100
commitee939eeffba5016bc6973956e811dfe12a5801e1 (patch)
treeb19d9545dd27eaa8db40eba71951f55883bc616a
parent8024f40d013227c01fdbc9726f1e6aaae17b1de4 (diff)
downloadgnulib-ee939eeffba5016bc6973956e811dfe12a5801e1.tar.gz
getcwd: Fix link error on MSVC 9.
* modules/getcwd (Depends-on): Add readdir, rewinddir.
-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]