aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s/freebsd.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 07c736dd371..26a41c66b9f 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -45,7 +45,9 @@
45 45
46#define LIBS_DEBUG 46#define LIBS_DEBUG
47#define LIBS_SYSTEM -lutil 47#define LIBS_SYSTEM -lutil
48#if __FreeBSD_version < 400000
48#define LIBS_TERMCAP -ltermcap 49#define LIBS_TERMCAP -ltermcap
50#endif
49 51
50#define SYSV_SYSTEM_DIR 52#define SYSV_SYSTEM_DIR
51 53
@@ -180,10 +182,3 @@
180 182
181#define GC_SETJMP_WORKS 1 183#define GC_SETJMP_WORKS 1
182 184
183/* In FreeBSD 4, we must use terminfo.o instead of tparam.o. Termcap
184 capabilities use %-specifiers that tparm.o cannot handle.
185 Libtermcap.a contains a `tparm' that terminfo.c can use. */
186
187#if __FreeBSD__ >= 4
188#define TERMCAP_OBJ terminfo.o
189#endif