****************************************************************************/
/*
- * $Id: curses.priv.h,v 1.619 2019/03/23 23:45:56 tom Exp $
+ * $Id: curses.priv.h,v 1.621 2019/05/04 20:29:09 tom Exp $
*
* curses.priv.h
*
* POSIX ignores the "b", which c89 specified. Some very old systems do not
* accept it.
*/
+#if USE_FOPEN_BIN_R
#define BIN_R "rb"
#define BIN_W "wb"
+#else
+#define BIN_R "r"
+#define BIN_W "w"
+#endif
/*
* Scroll hints are useless when hashmap is used
ttytype[NAMESIZE - 1] = '\0'; \
}
+#if !NCURSES_WCWIDTH_GRAPHICS
+extern NCURSES_EXPORT(int) _nc_wacs_width(unsigned);
+#else
+#define _nc_wacs_width(ch) wcwidth(ch)
+#endif
+
/* charable.c */
#if USE_WIDEC_SUPPORT
extern NCURSES_EXPORT(bool) _nc_is_charable(wchar_t);