changeset 28572:34472501a68c

(TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as terminfo.o.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 13 Apr 2000 19:10:25 +0000
parents 90bcf7fbdc57
children cdc89dbad540
files src/s/freebsd.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/freebsd.h	Thu Apr 13 19:10:09 2000 +0000
+++ b/src/s/freebsd.h	Thu Apr 13 19:10:25 2000 +0000
@@ -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