]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tty/MKexpanded.sh
ncurses 5.7 - patch 20091024
[ncurses.git] / ncurses / tty / MKexpanded.sh
index e13996ed914a8d9a942a4d3cb212291b622e45d9..c7741ae7ce210335b18f275674c7873a9a7cb16b 100755 (executable)
@@ -29,7 +29,7 @@
 #
 # Author: Thomas E. Dickey, 1997-on
 #
 #
 # Author: Thomas E. Dickey, 1997-on
 #
-# $Id: MKexpanded.sh,v 1.15 2009/06/27 20:37:50 tom Exp $
+# $Id: MKexpanded.sh,v 1.16 2009/07/04 16:45:03 tom Exp $
 #
 # Script to generate 'expanded.c', a dummy source that contains functions
 # corresponding to complex macros used in this library.  By making functions,
 #
 # Script to generate 'expanded.c', a dummy source that contains functions
 # corresponding to complex macros used in this library.  By making functions,
@@ -55,6 +55,11 @@ cat <<EOF
 #define NEED_NCURSES_CH_T 1
 #include <curses.priv.h>
 #include <term.h>
 #define NEED_NCURSES_CH_T 1
 #include <curses.priv.h>
 #include <term.h>
+
+#ifndef CUR
+#define CUR SP_TERMTYPE
+#endif
+
 #if NCURSES_EXPANDED
 EOF
 
 #if NCURSES_EXPANDED
 EOF