summaryrefslogtreecommitdiff
path: root/config.h.W32.template
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-09-15 19:51:41 +0300
committerEli Zaretskii <eliz@gnu.org>2014-09-15 19:51:41 +0300
commit53f8961ee4ce774eaf06f1785acd8ca8b1bdf7de (patch)
tree9731291588d109944ab3a4275c209f5ed827ea01 /config.h.W32.template
parentaea68e0fae0211dd32fe1e9b93caa15722f4510b (diff)
downloadmake-53f8961ee4ce774eaf06f1785acd8ca8b1bdf7de.tar.gz
Support MAKE_TERMOUT and MAKE_TERMERR on MS-Windows.
* w32/compat/posixfcn.c (isatty, ttyname): New functions. * config.h.W32.template (HAVE_TTYNAME): Define. Add a prototype for ttyname.
Diffstat (limited to 'config.h.W32.template')
-rw-r--r--config.h.W32.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h.W32.template b/config.h.W32.template
index 849a8550..07bb626c 100644
--- a/config.h.W32.template
+++ b/config.h.W32.template
@@ -296,7 +296,8 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#define HAVE_ISATTY 1
/* Define to 1 if you have the `ttyname' function. */
-/* #undef HAVE_TTYNAME */
+#define HAVE_TTYNAME 1
+char *ttyname (int);
/* Define to 1 if 'n_un.n_name' is a member of 'struct nlist'. */
/* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */