aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-13 23:27:00 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-13 23:27:00 +0000
commitc8cf438d44f7a4cd6700dbf9621329bffd960bf5 (patch)
tree7959216ce7a758ca94acbd13881ee6f434590916 /status.c
parente1b4a377222c53a186de6dabca5cb0068a1c7738 (diff)
downloadrtmux-c8cf438d44f7a4cd6700dbf9621329bffd960bf5.tar.gz
rtmux-c8cf438d44f7a4cd6700dbf9621329bffd960bf5.tar.bz2
rtmux-c8cf438d44f7a4cd6700dbf9621329bffd960bf5.zip
Rename all feature flags to HAVE_* and move out of makefiles into a configure
script which must be run before building. Still two makefiles but they are a hell of a lot simpler. HAVE_* also will make it easier to move to $buildsystem if necessary later.
Diffstat (limited to 'status.c')
-rw-r--r--status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/status.c b/status.c
index 1ead7e27..9fef8d5b 100644
--- a/status.c
+++ b/status.c
@@ -1,4 +1,4 @@
-/* $Id: status.c,v 1.77 2009-04-27 17:27:36 nicm Exp $ */
+/* $Id: status.c,v 1.78 2009-05-13 23:27:00 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -439,7 +439,7 @@ out:
size_t
status_width(struct winlink *wl)
{
-#ifndef BROKEN_VSNPRINTF
+#ifdef HAVE_VSNPRINTF
return (xsnprintf(NULL, 0, "%d:%s ", wl->idx, wl->window->name));
#else
char *s;