]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/curses.priv.h
ncurses 6.2 - patch 20200725
[ncurses.git] / ncurses / curses.priv.h
index daa94c9bded65a33d4b7f22a81ba082608cc3958..df69912c2ce7c962ffb17154ad547a49b9efaad9 100644 (file)
@@ -35,7 +35,7 @@
  ****************************************************************************/
 
 /*
- * $Id: curses.priv.h,v 1.631 2020/07/18 20:03:25 tom Exp $
+ * $Id: curses.priv.h,v 1.632 2020/07/25 22:55:59 tom Exp $
  *
  *     curses.priv.h
  *
@@ -337,7 +337,7 @@ typedef TRIES {
 
 #include <curses.h>    /* we'll use -Ipath directive to get the right one! */
 
-#ifndef NEED_KEY_EVENT
+#if !(defined(NCURSES_WGETCH_EVENTS) && defined(NEED_KEY_EVENT))
 #undef KEY_EVENT               /* reduce compiler-warnings with Visual C++ */
 #endif