Skip to content

Commit

Permalink
Merge pull request #132 from rashil2000/cygwin-fix
Browse files Browse the repository at this point in the history
Fix `‘TIOCSTI’ undeclared` error on MSYS2
  • Loading branch information
abishekvashok committed Sep 20, 2021
2 parents 0365a63 + 4ae5f68 commit 3112b12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmatrix.c
Expand Up @@ -69,6 +69,10 @@
#include <termio.h>
#endif

#ifdef __CYGWIN__
#define TIOCSTI 0x5412
#endif

/* Matrix typedef */
typedef struct cmatrix {
int val;
Expand Down

0 comments on commit 3112b12

Please sign in to comment.