X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=include%2Fcurses.h.in;h=6acf2d03fe0b6f7d98429e17e50e775b66250f5a;hb=79b07cae47a6fa064aa4d2ea70fe930884751eb4;hp=3bf96952fb7506d42929289428ae04a0289bea14;hpb=643ec2bf782cd02efafe3ccdeaea8920a404645e;p=ncurses.git diff --git a/include/curses.h.in b/include/curses.h.in index 3bf96952..6acf2d03 100644 --- a/include/curses.h.in +++ b/include/curses.h.in @@ -33,7 +33,7 @@ * and: Thomas E. Dickey 1996-on * ****************************************************************************/ -/* $Id: curses.h.in,v 1.276 2021/08/29 09:30:34 tom Exp $ */ +/* $Id: curses.h.in,v 1.277 2021/09/24 16:07:37 tom Exp $ */ #ifndef __NCURSES_H #define __NCURSES_H @@ -431,7 +431,14 @@ extern NCURSES_EXPORT_VAR(chtype) acs_map[]; */ #define _NEWINDEX -1 +#ifdef NCURSES_INTERNALS +#undef SCREEN +#define SCREEN struct screen +SCREEN; +#else typedef struct screen SCREEN; +#endif + typedef struct _win_st WINDOW; typedef chtype attr_t; /* ...must be at least as wide as chtype */