diff options
author | Bruno Haible <bruno@clisp.org> | 2011-09-11 21:44:32 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-09-11 21:44:32 +0200 |
commit | 912da04e8be8f7b78ea66c0fba08b2ceb292b8b0 (patch) | |
tree | d419d259a7fac387556d297dd6e00047b0a8f7cf /doc | |
parent | cd06f44c35f1e2a49c806686c8f9f6fcf1902a45 (diff) | |
download | gnulib-912da04e8be8f7b78ea66c0fba08b2ceb292b8b0.tar.gz |
unistd et al.: Don't assume <unistd.h> exists.
* m4/chdir-long.m4 (gl_FUNC_CHDIR_LONG): Don't include <unistd.h> if it
does not exist.
* m4/environ.m4 (gl_ENVIRON): Don't include <unistd.h> if it does not
exist. But include <stdlib.h>.
* m4/fcntl-o.m4 (gl_FCNTL_O_FLAGS): If <unistd.h> does not exist,
include <io.h> and <stdlib.h> instead. Don't test symbolink links if
symlink() does not exist.
* m4/fflush.m4 (gl_FUNC_FFLUSH_STDIN): If <unistd.h> does not exist,
include <io.h> instead.
* m4/free.m4 (gl_FUNC_FREE): Assume free(NULL) works on native Windows.
* m4/getcwd.m4 (gl_FUNC_GETCWD_NULL): If <unistd.h> does not exist,
include <direct.h> instead.
* m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): Likewise.
* m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
* m4/lseek.m4 (gl_FUNC_LSEEK): If <unistd.h> does not exist, include
<io.h> instead.
* m4/rename.m4 (gl_FUNC_RENAME): Assume rename() manages hard links
correctly if the system does not have hard links.
* m4/rmdir.m4 (gl_FUNC_RMDIR): If <unistd.h> does not exist, include
<direct.h> instead.
* m4/unistd_h.m4 (gl_UNISTD_H): If <unistd.h> does not exist, bypass
it when looking for function declarations.
* m4/unlink.m4 (gl_FUNC_UNLINK): If <unistd.h> does not exist, include
<direct.h> and <io.h> instead.
* doc/posix-headers/unistd.texi: More details about MSVC problem.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/posix-headers/unistd.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/posix-headers/unistd.texi b/doc/posix-headers/unistd.texi index 41e743aa0e..7beb4c25e0 100644 --- a/doc/posix-headers/unistd.texi +++ b/doc/posix-headers/unistd.texi @@ -8,7 +8,8 @@ Gnulib module: unistd Portability problems fixed by Gnulib: @itemize @item -This header file is missing on some platforms: msvc. +This header file is missing on some platforms: +MSVC 9. @item The SEEK_* macros are not defined in this file on some platforms: mingw. |