diff options
author | Bruno Haible <bruno@clisp.org> | 2012-05-13 22:54:49 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-05-13 22:57:52 +0200 |
commit | 290f951644e3c7ae4a9bc14ae89ed071b33b9a18 (patch) | |
tree | 482a0c16ef0f22b2942e4d8fa81613805b093a19 /modules/binary-io | |
parent | 81e2fe40473d40b254dea9484525c343d896a439 (diff) | |
download | gnulib-290f951644e3c7ae4a9bc14ae89ed071b33b9a18.tar.gz |
binary-io: Define set_binary_mode function.
* lib/binary-io.h (set_binary_mode): New function.
(SET_BINARY): Define in terms of set_binary_mode.
* modules/binary-io (configure.ac): Require AC_C_INLINE.
* tests/test-binary-io.c (main): Accept an argument, and test either
set_binary_mode or SET_BINARY depending on the argument.
* tests/test-binary-io.sh: Invoke test-binary-io twice, with an
argument. Clean up also t-bin-out0.tmp.
Diffstat (limited to 'modules/binary-io')
-rw-r--r-- | modules/binary-io | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/binary-io b/modules/binary-io index 4386ec924d..dd4a13665b 100644 --- a/modules/binary-io +++ b/modules/binary-io @@ -8,6 +8,7 @@ Depends-on: fcntl-h configure.ac: +AC_REQUIRE([AC_C_INLINE]) Makefile.am: lib_SOURCES += binary-io.h |