X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest.priv.h;h=b8feb27ba67610cd5bb3a044b7d76f8a8f9d1a9c;hp=b352ce7d016dbebcc54b6bd943f56af9c46b5657;hb=5899b5e464ecec4b1613f6fef8cb7b75793c88e3;hpb=cf6a62567b2365c8678b7d561845bdbd1739e5da diff --git a/test/test.priv.h b/test/test.priv.h index b352ce7d..b8feb27b 100644 --- a/test/test.priv.h +++ b/test/test.priv.h @@ -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 @@ -391,6 +391,10 @@ #include #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 */