From 4392d36cbb8ba8dae24eca82c445d807497d69ff Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 25 Aug 2003 18:21:07 +0000 Subject: 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. --- winsup/cygwin/fhandler_tty.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/fhandler_tty.cc') 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) -- cgit v1.2.3