aboutsummaryrefslogtreecommitdiff
path: root/libio/tst-wmemstream3.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 17:45:41 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 17:45:41 +0100
commitcef7166ac10cff95e8e8ab76e32376faf34800e5 (patch)
treee9dbae878483500bcb87edbc17c884489e29a529 /libio/tst-wmemstream3.c
parent5f982b0beb0f337ba3dfdae85462192d06b5af89 (diff)
downloadglibc-cef7166ac10cff95e8e8ab76e32376faf34800e5.tar
glibc-cef7166ac10cff95e8e8ab76e32376faf34800e5.tar.gz
glibc-cef7166ac10cff95e8e8ab76e32376faf34800e5.tar.bz2
glibc-cef7166ac10cff95e8e8ab76e32376faf34800e5.zip
hurd: Fix building libio/tst-memstream3.c
FWRITE is already an fcntl.h macro. * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE. (do_test_bz20181): Rename accordingly. * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
Diffstat (limited to 'libio/tst-wmemstream3.c')
-rw-r--r--libio/tst-wmemstream3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-wmemstream3.c b/libio/tst-wmemstream3.c
index d0e4973768..4edc2b9094 100644
--- a/libio/tst-wmemstream3.c
+++ b/libio/tst-wmemstream3.c
@@ -37,7 +37,7 @@ fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq)
#define W(o) L##o
#define OPEN_MEMSTREAM open_wmemstream
#define PRINTF wprintf
-#define FWRITE fwwrite
+#define _FWRITE fwwrite
#define FPUTC fputwc
#define STRCMP wcscmp