aboutsummaryrefslogtreecommitdiff
path: root/include/nc_termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nc_termios.h')
-rw-r--r--include/nc_termios.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/nc_termios.h b/include/nc_termios.h
index 87fa46efb48d..13cc0af7ab53 100644
--- a/include/nc_termios.h
+++ b/include/nc_termios.h
@@ -31,7 +31,7 @@
* Author: Thomas E. Dickey 2011 *
****************************************************************************/
-/* $Id: nc_termios.h,v 1.7 2020/02/02 23:34:34 tom Exp $ */
+/* $Id: nc_termios.h,v 1.8 2020/08/29 20:53:19 tom Exp $ */
#ifndef NC_TERMIOS_included
#define NC_TERMIOS_included 1
@@ -70,9 +70,13 @@
#define tcflush(fd, arg) ioctl(fd, TCFLSH, arg)
#endif
+#if defined(EXP_WIN32_DRIVER)
+#undef TERMIOS
+#endif
+
#else /* !HAVE_TERMIO_H */
-#if _WIN32
+#if defined(_WIN32) && !defined(EXP_WIN32_DRIVER)
/* lflag bits */
#define ISIG 0x0001