]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/test.priv.h
ncurses 6.2 - patch 20200725
[ncurses.git] / test / test.priv.h
index b352ce7d016dbebcc54b6bd943f56af9c46b5657..b8feb27ba67610cd5bb3a044b7d76f8a8f9d1a9c 100644 (file)
@@ -30,7 +30,7 @@
 /****************************************************************************
  *  Author: Thomas E. Dickey                    1996-on                     *
  ****************************************************************************/
-/* $Id: test.priv.h,v 1.187 2020/07/11 23:01:49 tom Exp $ */
+/* $Id: test.priv.h,v 1.188 2020/07/25 22:56:33 tom Exp $ */
 
 #ifndef __TEST_PRIV_H
 #define __TEST_PRIV_H 1
 #include <curses.h>
 #endif
 
+#if !(defined(NCURSES_WGETCH_EVENTS) && defined(NEED_KEY_EVENT))
+#undef KEY_EVENT               /* reduce compiler-warnings with Visual C++ */
+#endif
+
 #if defined(HAVE_XCURSES) || defined(PDCURSES)
 /* no other headers */
 #undef  HAVE_SETUPTERM         /* nonfunctional */