blob: b8007ff22ea5910d971341654d426463636ef03d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Snow <i@xkun.me>
Date: Sun, 15 May 2022 11:41:03 +0800
Subject: [PATCH] Undefine TERMINFO in termcap.c
Leaving it defined will lead to a crash.
---
joe/termcap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/joe/termcap.c b/joe/termcap.c
index 7f4a459..b6fb6f8 100644
--- a/joe/termcap.c
+++ b/joe/termcap.c
@@ -7,6 +7,8 @@
*/
#include "types.h"
+#undef TERMINFO // undefine this manually, or it will lead crash
+
#ifdef TERMINFO
#ifdef __CYGWIN__
|