]> Savannah Git Hosting - gnulib.git/commitdiff
fcntl: Avoid compilation error on native Windows.
authorBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2012 12:15:36 +0000 (13:15 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2012 12:15:36 +0000 (13:15 +0100)
* modules/fcntl (Depends-on): Add 'close'.

ChangeLog
modules/fcntl

index c49da7fbca0138eac8f1ab05a2d3fa3b77b0f862..ea0fc3deb61c7e731c00a84e7bf23ea5db1c3940 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-28  Bruno Haible  <bruno@clisp.org>
+
+       fcntl: Avoid compilation error on native Windows.
+       * modules/fcntl (Depends-on): Add 'close'.
+
 2012-01-28  Marc-AndrĂ© Lureau  <marcandre.lureau@redhat.com>  (tiny change)
 
        select, poll, isatty: Avoid warnings on x86_64 mingw64.
index ab7c8ad6b9896ebb11e04feed5523fc490dc052b..dc891e759deae1001717a1f974f127b040dc1068 100644 (file)
@@ -8,6 +8,7 @@ lib/fcntl.c
 Depends-on:
 fcntl-h
 extensions
+close           [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
 dup2            [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
 getdtablesize   [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
 msvc-nothrow    [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]