summaryrefslogtreecommitdiff
path: root/m4/wmempcpy.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/wmempcpy.m4')
-rw-r--r--m4/wmempcpy.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/wmempcpy.m4 b/m4/wmempcpy.m4
index 40fbb0d7ff..729128cab7 100644
--- a/m4/wmempcpy.m4
+++ b/m4/wmempcpy.m4
@@ -1,4 +1,4 @@
-# wmempcpy.m4 serial 1
+# wmempcpy.m4 serial 2
dnl Copyright (C) 2020-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,7 @@ AC_DEFUN([gl_FUNC_WMEMPCPY],
dnl The wmempcpy() declaration in lib/wchar.in.h uses 'restrict'.
AC_REQUIRE([AC_C_RESTRICT])
- AC_CHECK_FUNCS_ONCE([wmempcpy])
+ gl_CHECK_FUNCS_ANDROID([wmempcpy], [[#include <wchar.h>]])
if test $ac_cv_func_wmempcpy = no; then
HAVE_WMEMPCPY=0
fi