aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-04-05 18:27:08 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-04-05 18:27:08 +0000
commit8b3f9ed645ef309ac4f784157aafd3ccd228ba37 (patch)
tree60a4d22a3f97908a55c40745d476d03ed72d3a0b /gdb/gdbtk.c
parentd981c0aa7a6e3bd9d7b187320fb199c85774e649 (diff)
downloadgdb-8b3f9ed645ef309ac4f784157aafd3ccd228ba37.zip
gdb-8b3f9ed645ef309ac4f784157aafd3ccd228ba37.tar.gz
gdb-8b3f9ed645ef309ac4f784157aafd3ccd228ba37.tar.bz2
Undef SIOCSPGRP if on Linux
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index 31903f2..75108ac 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -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;