diff options
author | Bruno Haible <bruno@clisp.org> | 2011-11-28 00:44:07 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-11-28 00:44:07 +0100 |
commit | ee939eeffba5016bc6973956e811dfe12a5801e1 (patch) | |
tree | b19d9545dd27eaa8db40eba71951f55883bc616a | |
parent | 8024f40d013227c01fdbc9726f1e6aaae17b1de4 (diff) | |
download | gnulib-ee939eeffba5016bc6973956e811dfe12a5801e1.tar.gz |
getcwd: Fix link error on MSVC 9.
* modules/getcwd (Depends-on): Add readdir, rewinddir.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | modules/getcwd | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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] |