summaryrefslogtreecommitdiff
path: root/lib/unistr/u8-prev.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unistr/u8-prev.c')
-rw-r--r--lib/unistr/u8-prev.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/unistr/u8-prev.c b/lib/unistr/u8-prev.c
index d733f758..e9d0eec5 100644
--- a/lib/unistr/u8-prev.c
+++ b/lib/unistr/u8-prev.c
@@ -1,5 +1,5 @@
/* Iterate over previous character in UTF-8 string.
- Copyright (C) 2002, 2006-2007, 2009-2024 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This file is free software: you can redistribute it and/or modify
@@ -15,6 +15,9 @@
You should have received a copy of the GNU Lesser 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. */