aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.h
diff options
context:
space:
mode:
authorGravatar Claes Nästén <me@pekdon.net>2007-08-22 17:57:41 +1000
committerGravatar Claes Nästén <me@pekdon.net>2007-08-22 17:57:41 +1000
commit74a270ea327129b489410900851a88d1e5a4084d (patch)
tree9311f02e2bca1395536c0d3347ce095e0fe2b2a2 /fallback.h
parent2994378e1a56ccba59bb60c9cd448707eb0be077 (diff)
Add tparm fallback to use under systems having tparm with fixed number of paramters, required with Solaris curses. Updated configure script to check for c99 for compilation with Sun Studio under solaris and updated LDFlAGS for fish_pager etc to include library dependencies from common.c etc.
darcs-hash:20070822075741-cac88-5532b074490bce1d7f37289b1774a4a5e44416d8.gz
Diffstat (limited to 'fallback.h')
-rw-r--r--fallback.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/fallback.h b/fallback.h
index df4141fc..e6f8e341 100644
--- a/fallback.h
+++ b/fallback.h
@@ -73,6 +73,18 @@ int tputs(const char *str, int affcnt, int (*fish_putc)(tputs_arg_t));
#endif
+#ifdef TPARM_SOLARIS_KLUDGE
+
+/**
+ Solaris tparm has a set fixed of paramters in it's curses implementation,
+ work around this here.
+*/
+
+#define tparm tparm_solaris_kludge
+char *tparm_solaris_kludge( char *str, ... );
+
+#endif
+
#ifndef HAVE_FWPRINTF
/**
@@ -424,4 +436,3 @@ int getopt_long(int argc,
#endif
#endif
-