****************************************************************************/
/*
- * $Id: curses.priv.h,v 1.533 2014/04/13 00:16:21 tom Exp $
+ * $Id: curses.priv.h,v 1.535 2014/04/26 18:45:36 juergen Exp $
*
* curses.priv.h
*
#ifdef __MINGW32__
#include <nc_mingw.h>
extern NCURSES_EXPORT_VAR(TERM_DRIVER) _nc_WIN_DRIVER;
+extern NCURSES_EXPORT(int) _nc_mingw_isatty(int fd);
+extern NCURSES_EXPORT(int) _nc_mingw_isconsole(int fd);
#endif
extern NCURSES_EXPORT_VAR(TERM_DRIVER) _nc_TINFO_DRIVER;
#endif
#endif
+#ifndef __MINGW32__
+# define NC_ISATTY(fd) isatty(fd)
+#else
+# define NC_ISATTY(fd) _nc_mingw_isatty(fd)
+#endif
+
#ifdef __cplusplus
}
#endif