X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fnc_termios.h;h=87fa46efb48d4c2f74822a6daaeff22fb9592088;hp=5efab40e8a4a030957790c561c67dea52604a96e;hb=d61c3c6a831d18ef0ed6f797ac97d60fffc2f158;hpb=71244b7927a8918c0b09a8eb13b017ef0ebb6de8 diff --git a/include/nc_termios.h b/include/nc_termios.h index 5efab40e..87fa46ef 100644 --- a/include/nc_termios.h +++ b/include/nc_termios.h @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2011-2014,2017 Free Software Foundation, Inc. * + * Copyright 2018,2020 Thomas E. Dickey * + * Copyright 2011-2014,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -30,7 +31,7 @@ * Author: Thomas E. Dickey 2011 * ****************************************************************************/ -/* $Id: nc_termios.h,v 1.5 2017/07/23 00:02:08 tom Exp $ */ +/* $Id: nc_termios.h,v 1.7 2020/02/02 23:34:34 tom Exp $ */ #ifndef NC_TERMIOS_included #define NC_TERMIOS_included 1 @@ -71,7 +72,7 @@ #else /* !HAVE_TERMIO_H */ -#if __MINGW32__ +#if _WIN32 /* lflag bits */ #define ISIG 0x0001 @@ -155,7 +156,7 @@ #undef ttyname #define ttyname(fd) NULL -#endif /* __MINGW32__ */ +#endif /* _WIN32 */ #endif /* HAVE_TERMIO_H */ #endif /* HAVE_TERMIOS_H */