On 3/18/25 12:10 PM, Khem Raj wrote:
Fixes builds with GCC-15
Sourced from Fedora:
https://src.fedoraproject.org/rpms/readline/c/c47eb813afb942128253213ad5b8221770557e48?branch=rawhide
Help getting packages like bluez5 building
Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
rlstdc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rlstdc.h b/rlstdc.h
index 2aaa30b..a7a0ef3 100644
--- a/rlstdc.h
+++ b/rlstdc.h
@@ -44,7 +44,7 @@
/* Moved from config.h.in because readline.h:rl_message depends on these
defines. */
-#if defined (__STDC__) && defined (HAVE_STDARG_H)
+#if defined (__STDC__)
# define PREFER_STDARG
# define USE_VARARGS
#else
Thanks for the report. Those defines are gone in the current development
version and readline-8.3-beta.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/