From cbf5ca04c1122b944769650760d8a77c4e03fd8b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 13 Apr 2000 19:10:25 +0000 Subject: [PATCH] (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as terminfo.o. --- src/s/freebsd.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 15bbe2b6426..72337a02216 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -173,3 +173,11 @@ jmp_buf. */ #define GC_SETJMP_WORKS 1 + +/* In FreeBSD 4, we must use terminfo.o instead of tparam.o. Termcap + capabilities use %-specifiers that tparm.o cannot handle. + Libtermcap.a contains a `tparm' that terminfo.c can use. */ + +#if __FreeBSD__ >= 4 +#define TERMCAP_OBJ terminfo.o +#endif -- 2.39.5