diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-13 23:27:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-13 23:27:00 +0000 |
commit | c8cf438d44f7a4cd6700dbf9621329bffd960bf5 (patch) | |
tree | 7959216ce7a758ca94acbd13881ee6f434590916 /log.c | |
parent | e1b4a377222c53a186de6dabca5cb0068a1c7738 (diff) | |
download | rtmux-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 'log.c')
-rw-r--r-- | log.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: log.c,v 1.11 2009-03-31 21:22:10 nicm Exp $ */ +/* $Id: log.c,v 1.12 2009-05-13 23:27:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -111,9 +111,7 @@ log_vwrite(int pri, const char *msg, va_list ap) switch (log_type) { case LOG_TYPE_SYSLOG: -#ifdef NO_VSYSLOG - /* XXX */ -#else +#ifdef HAVE_VSYSLOG vsyslog(pri, msg, ap); #endif break; |