aboutsummaryrefslogtreecommitdiff
path: root/libio/wgenops.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/wgenops.c')
-rw-r--r--libio/wgenops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/wgenops.c b/libio/wgenops.c
index 242f3a0077..fa0aab36af 100644
--- a/libio/wgenops.c
+++ b/libio/wgenops.c
@@ -35,6 +35,10 @@
#include <wchar.h>
+#ifndef _LIBC
+# define __wmemcpy(dst, src, n) wmemcpy (dst, src, n)
+#endif
+
static int save_for_wbackup __P ((_IO_FILE *fp, wchar_t *end_p))
#ifdef _LIBC