X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Fprogs.priv.h;h=3dc177d0a86698dd6d1e35c07ef969bb1df15a01;hp=a8d08bda6249658f78511caf0d381a39f8aa9d33;hb=2b7c2fd2f9d58719770902ce4d0d0aeb87b284f7;hpb=18f51bcf99101e5bf4c737239c44064227f34db8 diff --git a/progs/progs.priv.h b/progs/progs.priv.h index a8d08bda..3dc177d0 100644 --- a/progs/progs.priv.h +++ b/progs/progs.priv.h @@ -31,7 +31,7 @@ * Author: Thomas E. Dickey 1997-on * ****************************************************************************/ /* - * $Id: progs.priv.h,v 1.49 2020/02/29 20:57:36 tom Exp $ + * $Id: progs.priv.h,v 1.52 2020/09/05 19:35:06 tom Exp $ * * progs.priv.h * @@ -58,10 +58,6 @@ #include #endif -#if HAVE_SYS_BSDTYPES_H -#include /* needed for ISC */ -#endif - #if HAVE_LIMITS_H # include #elif HAVE_SYS_PARAM_H @@ -119,10 +115,20 @@ extern char *optarg; extern int optind; #endif /* HAVE_GETOPT_H */ +#undef _NC_WINDOWS +#if (defined(_WIN32) || defined(_WIN64)) +#define _NC_WINDOWS 1 +#endif + #define NCURSES_INTERNALS 1 #define NCURSES_OPAQUE 0 #include + +#if !(defined(NCURSES_WGETCH_EVENTS) && defined(NEED_KEY_EVENT)) +#undef KEY_EVENT /* reduce compiler-warnings with Visual C++ */ +#endif + #include #include #include