summaryrefslogtreecommitdiff
path: root/src/conf_post.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-09-06 17:27:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-09-06 17:29:07 -0700
commit5d2ac7435de679559aae0ede1d8b6f1750c09e68 (patch)
tree8b4059b578a0a2d812b91dc242d507708c00fea2 /src/conf_post.h
parent644f77b517180c5f75a9eaac4d76b12a1f334ce6 (diff)
Use DEV_TTY more consistently
* src/conf_post.h (DEV_TTY): Move from here ... * src/keyboard.c, src/keyboard.h: ... to here, as it doesn’t need to be visible everywhere. Make it a constant. * src/keyboard.c (handle_interrupt, Fset_quit_char): * src/process.c (create_process): Prefer DEV_TTY to "/dev/tty".
Diffstat (limited to 'src/conf_post.h')
-rw-r--r--src/conf_post.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/conf_post.h b/src/conf_post.h
index bc8b096488..865d0183a5 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -140,10 +140,6 @@ typedef bool bool_bf;
#undef HAVE_RINT
#endif /* HPUX */
-#ifdef WINDOWSNT
-# define DEV_TTY "CONOUT$"
-#endif
-
#ifdef MSDOS
#ifndef __DJGPP__
You lose; /* Emacs for DOS must be compiled with DJGPP */
@@ -246,11 +242,6 @@ extern int emacs_setenv_TZ (char const *);
#include <string.h>
#include <stdlib.h>
-#ifndef DEV_TTY
-# define DEV_TTY "/dev/tty"
-#endif
-
-
#if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */
#define NO_INLINE __attribute__((noinline))
#else