summaryrefslogtreecommitdiff
path: root/lib/unistr/u8-strstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unistr/u8-strstr.c')
-rw-r--r--lib/unistr/u8-strstr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/unistr/u8-strstr.c b/lib/unistr/u8-strstr.c
index df2dc964..eb30108e 100644
--- a/lib/unistr/u8-strstr.c
+++ b/lib/unistr/u8-strstr.c
@@ -1,5 +1,5 @@
/* Substring test for UTF-8 strings.
- Copyright (C) 1999, 2002, 2006, 2010-2024 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006, 2010-2025 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This file is free software.
@@ -23,6 +23,9 @@
License and of the GNU General Public License along with this
program. If not, see <https://www.gnu.org/licenses/>. */
+/* Don't use the const-improved function macros in this compilation unit. */
+#define _LIBUNISTRING_NO_CONST_GENERICS
+
#include <config.h>
/* Specification. */