tFix tparm usage on NetBSD - sacc - sacc (saccomys): simple gopher client.
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit e9b9894e29151ef7084e13729b629adb9651487c
DIR parent c99d484c0e3619be44cb21f3b9f15d04a1e703c9
HTML Author: Quentin Rameau <quinq@fifth.space>
Date: Fri, 1 Sep 2017 10:49:52 +0200
Fix tparm usage on NetBSD
Use tiparm instead, which is the equivalent of tparm on other
implementations.
Thanks to Leonardo Taccari <iamleot@gmail.com> for the report and to
k0ga for the advice!
Diffstat:
ui_ti.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/ui_ti.c b/ui_ti.c
t@@ -15,6 +15,10 @@
static struct termios tsave;
static struct termios tsacc;
+#if defined(__NetBSD__)
+#undef tparm
+#define tparm tiparm
+#endif
void
uisetup(void)