1c75ec9f88
Changes since 15.7a - Allow usage of function keys ctrl-f and ctrl-b even from result pane. - More informative display of position in a multi-screenful result set. - Handle source files with freaky large numbers of lines. - Search for assignment failed to recognize >>= and <<=, incorrectly recognized ~=, and was implemented somewhat clumsily. - Added vi plugin to read cscope db's - Tolerate C++ :: scope operator inside argument lists, too. - Bug fixes.
27 lines
846 B
Text
27 lines
846 B
Text
$NetBSD: patch-aa,v 1.13 2012/10/25 08:28:20 asau Exp $
|
|
|
|
--- src/constants.h.orig 2012-04-07 14:12:07.000000000 +0000
|
|
+++ src/constants.h
|
|
@@ -85,6 +85,13 @@
|
|
#define NUMLEN_STR STRINGIZE(NUMLEN)
|
|
#define TEMPSTRING_LEN_STR STRINGIZE(TEMPSTRING_LEN)
|
|
|
|
+#define STR2(x) #x
|
|
+#define STRINGIZE(x) STR2(x)
|
|
+#define PATLEN_STR STRINGIZE(PATLEN)
|
|
+#define PATHLEN_STR STRINGIZE(PATHLEN)
|
|
+#define NUMLEN_STR STRINGIZE(NUMLEN)
|
|
+#define TEMPSTRING_LEN_STR STRINGIZE(TEMPSTRING_LEN)
|
|
+
|
|
/* screen lines */
|
|
#define FLDLINE (LINES - FIELDS - 1) /* first input field line */
|
|
#define MSGLINE 0 /* message line */
|
|
@@ -103,7 +110,7 @@
|
|
#define INCLUDES 8
|
|
#define FIELDS 10
|
|
|
|
-#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__
|
|
+#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__ && !__APPLE__
|
|
# define TERMINFO 0 /* no terminfo curses */
|
|
#else
|
|
# define TERMINFO 1
|