From 290f951644e3c7ae4a9bc14ae89ed071b33b9a18 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 13 May 2012 22:54:49 +0200 Subject: 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. --- modules/binary-io | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/binary-io') 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 -- cgit v1.2.1