fix #H2326: support window resize on linux
From a bug report. Applied the suggested change to enable window resize support by default on linux.
This commit is contained in:
@@ -443,6 +443,7 @@ X11: fix typo in mouse click sanity check; result might have pointed to
|
||||
spurious location after window resizing
|
||||
unix/Qt: saved games were not found if nethack was built with prefixes in use
|
||||
FreeBSD: compilation problems on FreeBSD 6.1
|
||||
linux: compile support for TIOCGWINSZ by default
|
||||
|
||||
|
||||
General New Features
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* NetHack 3.5 ioctl.c $Date$ $Revision$ */
|
||||
/* SCCS Id: @(#)ioctl.c 3.5 1990/22/02 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -41,7 +40,7 @@ struct ltchars ltchars0 = { -1, -1, -1, -1, -1, -1 }; /* turn all off */
|
||||
# ifdef POSIX_TYPES
|
||||
#include <termios.h>
|
||||
struct termios termio;
|
||||
# if defined(BSD) || defined(_AIX32)
|
||||
# if defined(BSD) || defined(_AIX32) || defined(__linux__)
|
||||
# if defined(_AIX32) && !defined(_ALL_SOURCE)
|
||||
# define _ALL_SOURCE
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user