From: Bruno Haible Date: Sat, 24 Sep 2011 15:59:54 +0000 (+0200) Subject: fgetc, fputc, fread, fwrite tests: Avoid compilation error on MSVC. X-Git-Tag: v0.1~1751 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=eab930966c2c1f42916fd775f4466a29192bbaa3;p=gnulib.git 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. --- 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: