]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_sys_modes, reset_sys_modes): Test BSD_PGRPS.
authorRichard M. Stallman <rms@gnu.org>
Thu, 17 Feb 1994 02:59:48 +0000 (02:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 17 Feb 1994 02:59:48 +0000 (02:59 +0000)
(narrow_foreground_group, widen_foreground_group): Define if BSD_PGRPS.

src/sysdep.c

index 7953b41dbd0b5d6224aea46d48a3f85fc47886b8..058af1624d76f07d9f23869cd2ea63371486ed0a 100644 (file)
@@ -834,7 +834,7 @@ unrequest_sigio ()
 \f
 /* Saving and restoring the process group of Emacs's terminal.  */
 
-#ifdef BSD
+#ifdef BSD_PGRPS
 
 /* The process group of which Emacs was a member when it initially
    started.
@@ -878,7 +878,7 @@ widen_foreground_group ()
   setpgrp (0, inherited_pgroup);
 }
 
-#endif
+#endif /* BSD_PGRPS */
 \f
 /* Getting and setting emacs_tty structures.  */
 
@@ -1111,7 +1111,7 @@ init_sys_modes ()
 #endif
 #endif /* not VMS */
 
-#ifdef BSD
+#ifdef BSD_PGRPS
   if (! read_socket_hook && EQ (Vwindow_system, Qnil))
     narrow_foreground_group ();
 #endif
@@ -1483,7 +1483,7 @@ reset_sys_modes ()
   hft_reset ();
 #endif
 
-#ifdef BSD
+#ifdef BSD_PGRPS
   widen_foreground_group ();
 #endif
 }