summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stty.c b/src/stty.c
index 44cdcddc6..467f8ae89 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -118,9 +118,9 @@
# define CSWTCH _POSIX_VDISABLE
#endif
-/* SunOS 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
+/* SunOS >= 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
So the default is to disable 'swtch.' */
-#if defined __sparc__ && defined __svr4__
+#if defined __sun
# undef CSWTCH
# define CSWTCH _POSIX_VDISABLE
#endif