Skip to content

Commit

Permalink
mingw pdcurses_ISPAD
Browse files Browse the repository at this point in the history
Co-authored-by: Алексей <[email protected]>
  • Loading branch information
Alexpux authored and lazka committed Aug 25, 2023
1 parent 08044df commit 555d752
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Include/py_curses.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
#include <curses.h>
#endif

#if defined(__MINGW32__)
#include <windows.h>
#if !defined(_ISPAD)
#define _ISPAD 0x10
#endif
#endif

#ifdef HAVE_NCURSES_H
/* configure was checking <curses.h>, but we will
use <ncurses.h>, which has some or all these features. */
Expand Down

0 comments on commit 555d752

Please sign in to comment.