From eab930966c2c1f42916fd775f4466a29192bbaa3 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 24 Sep 2011 17:59:54 +0200 Subject: [PATCH] fgetc, fputc, fread, fwrite tests: Avoid compilation error on MSVC. * modules/fgetc-tests (Depends-on): Add unistd. * modules/fputc-tests (Depends-on): Likewise. * modules/fread-tests (Depends-on): Likewise. * modules/fwrite-tests (Depends-on): Likewise. --- ChangeLog | 8 ++++++++ modules/fgetc-tests | 1 + modules/fputc-tests | 1 + modules/fread-tests | 1 + modules/fwrite-tests | 1 + 5 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3aca0330d..ceca56261 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2011-09-24 Bruno Haible + fgetc, fputc, fread, fwrite tests: Avoid compilation error on MSVC. + * modules/fgetc-tests (Depends-on): Add unistd. + * modules/fputc-tests (Depends-on): Likewise. + * modules/fread-tests (Depends-on): Likewise. + * modules/fwrite-tests (Depends-on): Likewise. + +2011-09-24 Bruno Haible + dup: Simplify autoconf test. * m4/dup.m4 (gl_FUNC_DUP): Don't run a test program. Instead, just rely on gl_MSVC_INVAL's result. diff --git a/modules/fgetc-tests b/modules/fgetc-tests index 9bbb166e5..25077f7ad 100644 --- a/modules/fgetc-tests +++ b/modules/fgetc-tests @@ -4,6 +4,7 @@ tests/signature.h tests/macros.h Depends-on: +unistd configure.ac: diff --git a/modules/fputc-tests b/modules/fputc-tests index 6aa348eca..a6c89583e 100644 --- a/modules/fputc-tests +++ b/modules/fputc-tests @@ -4,6 +4,7 @@ tests/signature.h tests/macros.h Depends-on: +unistd configure.ac: diff --git a/modules/fread-tests b/modules/fread-tests index 49f0a7186..c37901f8d 100644 --- a/modules/fread-tests +++ b/modules/fread-tests @@ -4,6 +4,7 @@ tests/signature.h tests/macros.h Depends-on: +unistd configure.ac: diff --git a/modules/fwrite-tests b/modules/fwrite-tests index 496fe8001..00d8e7e87 100644 --- a/modules/fwrite-tests +++ b/modules/fwrite-tests @@ -4,6 +4,7 @@ tests/signature.h tests/macros.h Depends-on: +unistd configure.ac: -- 2.11.0