11890e829b
From xaizek at posteo.net (upstream, taking maintainer).
22 lines
807 B
Plaintext
22 lines
807 B
Plaintext
Disable old workaround for curses on OpenBSD.
|
|
|
|
Index: src/compat/curses.h
|
|
--- src/compat/curses.h.orig
|
|
+++ src/compat/curses.h
|
|
@@ -31,11 +31,11 @@
|
|
* for implementation as it needs more than just wchar_t.) */
|
|
#define K(x) ((wchar_t)((wint_t)0xe000 + 1 + (x)))
|
|
|
|
-/* OpenBSD has perverted ncurses library, which has stubs with infinite loops
|
|
- * instead of real wide functions. As there is only a couple of wide functions
|
|
- * in use, they can be emulated. */
|
|
+/* In the past OpenBSD has perverted ncurses library, which had stubs with
|
|
+ * infinite loops instead of real wide functions. As there is only a couple of
|
|
+ * wide functions in use, they can be emulated on systems like that. */
|
|
|
|
-#ifndef __OpenBSD__
|
|
+#ifndef FAKE_NCURSESW
|
|
|
|
#define compat_wget_wch wget_wch
|
|
#define compat_waddwstr waddwstr
|