summaryrefslogtreecommitdiff
path: root/lib/libcurses/curses.priv.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-09-17 04:14:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-09-17 04:14:50 +0000
commit90e9edeb57b7efe3b1aba0ddeda30341b7e9fd0c (patch)
tree11483598ad9b90bf8b2be3421ce004a559028779 /lib/libcurses/curses.priv.h
parent0b81d39237f399c737f2a448986f6568f88ed1f8 (diff)
ncurses-4.2-980912
Diffstat (limited to 'lib/libcurses/curses.priv.h')
-rw-r--r--lib/libcurses/curses.priv.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libcurses/curses.priv.h b/lib/libcurses/curses.priv.h
index 1868afcf667..4c95727e76f 100644
--- a/lib/libcurses/curses.priv.h
+++ b/lib/libcurses/curses.priv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: curses.priv.h,v 1.8 1998/09/13 19:16:25 millert Exp $ */
+/* $OpenBSD: curses.priv.h,v 1.9 1998/09/17 04:14:30 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -35,7 +35,7 @@
/*
- * $From: curses.priv.h,v 1.109 1998/09/05 22:10:02 tom Exp $
+ * $From: curses.priv.h,v 1.110 1998/09/12 22:50:21 tom Exp $
*
* curses.priv.h
*
@@ -663,6 +663,10 @@ extern void _nc_synchook(WINDOW *win);
extern void _nc_update_screensize(void);
#endif
+#define NC_BUFFERED(flag) \
+ if ((SP->_setbuf == 0) != flag) \
+ _nc_set_buffer(SP->_ofp, flag)
+
/*
* On systems with a broken linker, define 'SP' as a function to force the
* linker to pull in the data-only module with 'SP'.