aboutsummaryrefslogtreecommitdiff
path: root/control/serialctl.c
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-03-17 14:10:20 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-03-17 14:10:20 +0000
commitccf8bb4504c082631155d7989006f5d8f9854648 (patch)
tree59ed5e927e434fc02f65756d28d163c5f05a1e7a /control/serialctl.c
parent298484e6fe519f5aecf2e0ade6fe0e66bcccfb48 (diff)
trying to fix serialctl compilation
svn path=/trunk/externals/ggee/; revision=478
Diffstat (limited to 'control/serialctl.c')
-rwxr-xr-xcontrol/serialctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/control/serialctl.c b/control/serialctl.c
index 4a80bbb..cedc2f5 100755
--- a/control/serialctl.c
+++ b/control/serialctl.c
@@ -171,7 +171,9 @@ static void serialctl_setlocal(t_serialctl *x,t_symbol* s,t_int ac, t_atom* at)
if (at[i].a_type == A_SYMBOL) {
DEBUG(post("symbol %s",atom_getsymbolarg(i,ac,at)->s_name);)
+#ifdef ISIG
SETBIT(atom_getsymbolarg(i,ac,at),x->x_termios.c_lflag, ISIG);
+#endif
SETBIT(atom_getsymbolarg(i,ac,at),x->x_termios.c_lflag, ICANON);
SETBIT(atom_getsymbolarg(i,ac,at),x->x_termios.c_lflag, ECHO);
SETBIT(atom_getsymbolarg(i,ac,at),x->x_termios.c_lflag, ECHOE);