MSYS2-packages/cmatrix/define_TIOCSTI.patch
2023-04-07 11:17:26 +05:30

16 lines
262 B
Diff

diff --git a/cmatrix.c b/cmatrix.c
index 90284cb..7bca3f3 100644
--- a/cmatrix.c
+++ b/cmatrix.c
@@ -57,6 +57,10 @@
#include <termio.h>
#endif
+#ifdef __CYGWIN__
+#define TIOCSTI 0x5412
+#endif
+
/* Matrix typedef */
typedef struct cmatrix {
int val;