Skip to content

Commit 7223f88

Browse files
Alexpuxlazka
authored andcommitted
mingw pdcurses_ISPAD
Co-authored-by: Алексей <alexey.pawlow@gmail.com>
1 parent a381e9f commit 7223f88

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Include/py_curses.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
#include <curses.h>
3737
#endif
3838

39+
#if defined(__MINGW32__)
40+
#include <windows.h>
41+
#if !defined(_ISPAD)
42+
#define _ISPAD 0x10
43+
#endif
44+
#endif
45+
3946
#ifdef HAVE_NCURSES_H
4047
/* configure was checking <curses.h>, but we will
4148
use <ncurses.h>, which has some or all these features. */

0 commit comments

Comments
 (0)