aboutsummaryrefslogtreecommitdiff
path: root/libio/iogetwline.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iogetwline.c')
-rw-r--r--libio/iogetwline.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/iogetwline.c b/libio/iogetwline.c
index 760d54a..2d9eca0 100644
--- a/libio/iogetwline.c
+++ b/libio/iogetwline.c
@@ -27,6 +27,10 @@
#include <string.h>
#include <wchar.h>
+#ifdef _LIBC
+# define wmemcpy __wmemcpy
+#endif
+
#if defined _LIBC || !_G_HAVE_IO_GETLINE_INFO
_IO_size_t