summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-25 18:21:07 +0000
committerChristopher Faylor <me@cgf.cx>2003-08-25 18:21:07 +0000
commit4392d36cbb8ba8dae24eca82c445d807497d69ff (patch)
treedd61a5e7d55d5896a48a1ecb7676ec9ac5bf3657 /winsup/cygwin/fhandler_tty.cc
parente98b6dbb6d8c3f7e3329090a76814fae0ba2ce0b (diff)
downloadcygnal-4392d36cbb8ba8dae24eca82c445d807497d69ff.tar.gz
cygnal-4392d36cbb8ba8dae24eca82c445d807497d69ff.tar.bz2
cygnal-4392d36cbb8ba8dae24eca82c445d807497d69ff.zip
Throughout, change USE_CYGSERVER to USE_SERVER.
* Makefile.in (LIBSERVER): Define and use. * configure.in: Set LIBSERVER as appropriate. * environ.cc: Rename allow_daemon to allow_server. Only recognize when USE_SERVER is defined.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index 44eb21e6b..a3694ae9d 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -507,7 +507,7 @@ fhandler_tty_slave::open (path_conv *, int flags, mode_t)
HANDLE from_master_local, to_master_local;
-#ifdef USE_CYGSERVER
+#ifdef USE_SERVER
if (!wincap.has_security ()
|| cygserver_running == CYGSERVER_UNAVAIL
|| !cygserver_attach_tty (&from_master_local, &to_master_local))
@@ -589,7 +589,7 @@ int
fhandler_tty_slave::cygserver_attach_tty (LPHANDLE from_master_ptr,
LPHANDLE to_master_ptr)
{
-#ifndef USE_CYGSERVER
+#ifndef USE_SERVER
return 0;
#else
if (!from_master_ptr || !to_master_ptr)