Kaydet (Commit) 3d8f8c1d authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Only include update_lines_cols() function when it's actually going to be used

üst 060792cd
......@@ -2319,6 +2319,7 @@ PyCurses_QiFlush(PyObject *self, PyObject *args)
/* Internal helper used for updating curses.LINES, curses.COLS, _curses.LINES
* and _curses.COLS */
#if defined(HAVE_CURSES_RESIZETERM) || defined(HAVE_CURSES_RESIZE_TERM)
static int
update_lines_cols(void)
{
......@@ -2363,6 +2364,7 @@ update_lines_cols(void)
Py_DECREF(m);
return 1;
}
#endif
#ifdef HAVE_CURSES_RESIZETERM
static PyObject *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment