enable USE_WIN_IOCTL code unless explicitly avoided
Changes to be committed: modified: doc/fixes36.1 modified: include/unixconf.h modified: sys/share/ioctl.c github pull request #19 made reference to resulting code behaviour being better when windows were resized when USE_WIN_IOCTL was defined. The logic for including the necessary enabling code in the build in sys/share/ioctl.c was an explicit "opt-in" strategy, so anything not deliberately and explicitly listed was not able to take advantae of the potentially useful code. The need to add #defines to that list would have been perpetual as new platforms came online, and unnecessarily restrictive for everything else. This switches the logic to include the code by default now, and thus unless there is an explicit "opt-out" by uncommenting AVOID_WIN_IOCTL in include/unixconf.h Some platforms, and we have no way of knowing which ones, may have to ensure that AVOID_WIN_IOCTL is #define'd.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 unixconf.h $NHDT-Date: 1451342112 2015/12/28 22:35:12 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.25 $ */
|
||||
/* NetHack 3.6 unixconf.h $NHDT-Date: 1520099325 2018/03/03 17:48:45 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.30 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -136,6 +136,8 @@
|
||||
#define TIMED_DELAY
|
||||
#endif
|
||||
|
||||
/* #define AVOID_WIN_IOCTL */ /* ensure USE_WIN_IOCTL remains undefined */
|
||||
|
||||
/*
|
||||
* If you define MAIL, then the player will be notified of new mail
|
||||
* when it arrives. If you also define DEF_MAILREADER then this will
|
||||
|
||||
Reference in New Issue
Block a user