Redefine CTRL macro, make it build on OpenBSD. - irc - Unnamed repository; edit… | |
git clone git://vernunftzentrum.de/irc.git | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 2fe8873b070fca24e5ce7f1b5bf73e402791ad0f | |
parent ec9dab336522a0282804bfa0aa0b3c79a5630faa | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 24 Apr 2016 15:04:18 +0200 | |
Redefine CTRL macro, make it build on OpenBSD. | |
Diffstat: | |
irc.c | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/irc.c b/irc.c | |
@@ -22,6 +22,9 @@ | |
#include <netdb.h> | |
#include <locale.h> | |
+#undef CTRL | |
+#define CTRL(x) (x & 037) | |
+ | |
#define SCROLL 15 | |
#define INDENT 21 | |
#define DATEFMT "%H:%M" |