Undef SIOCSPGRP if on Linux

This commit is contained in:
Michael Meissner 1996-04-05 18:27:08 +00:00
parent d981c0aa7a
commit 8b3f9ed645
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
some versions of the kernel don't support it.
Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com>
* configure.in: Check for setpgid function.

View File

@ -49,6 +49,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <sys/stropts.h>
#endif
/* Some versions (1.3.79, 1.3.81) of Linux don't support SIOCSPGRP the way
gdbtk wants to us it... */
#ifdef __linux__
#undef SIOCSPGRP
#endif
/* Handle for TCL interpreter */
static Tcl_Interp *interp = NULL;