summaryrefslogtreecommitdiff
path: root/makeint.h
diff options
context:
space:
mode:
Diffstat (limited to 'makeint.h')
-rw-r--r--makeint.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/makeint.h b/makeint.h
index ab41665..da267cb 100644
--- a/makeint.h
+++ b/makeint.h
@@ -424,6 +424,12 @@ extern struct rlimit stack_limit;
/* The number of bytes needed to represent the largest integer as a string. */
#define INTSTR_LENGTH CSTRLEN ("18446744073709551616")
+#ifdef HAVE_TTYNAME
+# define TTYNAME(_f) ttyname (_f)
+#else
+# define TTYNAME(_f) "true"
+#endif
+
const char *concat (unsigned int, ...);
void message (int prefix, size_t length, const char *fmt, ...)