]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/nc_win32.h
ncurses 6.2 - patch 20200912
[ncurses.git] / include / nc_win32.h
index 1a0ba495913e16c5cb8e786183adb0615a3faf89..790e8dfe9388153dcefe17f7fd392f58862c88f7 100644 (file)
@@ -31,7 +31,7 @@
  * Author: Thomas Dickey, 2008-on                                           *
  ****************************************************************************/
 
-/* $Id: nc_win32.h,v 1.8 2020/09/07 14:27:05 tom Exp $ */
+/* $Id: nc_win32.h,v 1.9 2020/09/13 00:17:30 tom Exp $ */
 
 #ifndef NC_WIN32_H
 #define NC_WIN32_H 1
@@ -87,6 +87,8 @@ extern NCURSES_EXPORT(int) _nc_gettimeofday(struct timeval *, void *);
 #define wcwidth(ucs)  _nc_wcwidth((wchar_t)(ucs))
 extern NCURSES_EXPORT(int)    _nc_wcwidth(wchar_t);
 
+#ifdef EVENTLIST_2nd /* test.priv.h just needs the preceding */
+
 extern NCURSES_EXPORT(void)   _nc_console_size(int* Lines, int* Cols);
 extern NCURSES_EXPORT(HANDLE) _nc_console_handle(int fd);
 extern NCURSES_EXPORT(int)    _nc_console_isatty(int fd);
@@ -170,6 +172,8 @@ extern NCURSES_EXPORT_VAR(ConsoleInfo) _nc_CONSOLE;
 
 #define TypeAlloca(type,count)(type*) _alloca(sizeof(type)*(size_t)(count))
 
+#endif /* EVENTLIST_2nd */
+
 #ifdef __cplusplus
 }
 #endif