diff options
author | ache <ache@FreeBSD.org> | 1997-08-13 23:28:29 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-08-13 23:28:29 +0000 |
commit | 51ac279382827515917913557b38c1d59ebf868e (patch) | |
tree | 9741d0565a409159cc931418904ea0192e60ae5b /lib/libncurses/curses.h | |
parent | 18723c26bbc0123060a666b6fb181c1682cce1a1 (diff) | |
download | FreeBSD-src-51ac279382827515917913557b38c1d59ebf868e.zip FreeBSD-src-51ac279382827515917913557b38c1d59ebf868e.tar.gz |
Define NCURSES_VERSION publicly, some applications want it
Fix unctrl()
Merging from 4.1 used for this fixes.
Diffstat (limited to 'lib/libncurses/curses.h')
-rw-r--r-- | lib/libncurses/curses.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libncurses/curses.h b/lib/libncurses/curses.h index a3acc53..247aab8 100644 --- a/lib/libncurses/curses.h +++ b/lib/libncurses/curses.h @@ -22,6 +22,12 @@ #define CURSES 1 #define CURSES_H 1 +/* This is defined in more than one ncurses header, for identification */ +#undef NCURSES_VERSION +#define NCURSES_VERSION "1.8.6/ache" + +typedef unsigned long chtype; + #include <stdio.h> #include <stdarg.h> #ifndef NOTERMIOS @@ -37,8 +43,6 @@ #define bool char -typedef unsigned long chtype; - /* attributes */ #define A_ATTRIBUTES 0xffffff00 #define A_NORMAL 0x00000000 |