mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-16 16:41:35 +02:00
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.
This commit is contained in:
6
log.c
6
log.c
@ -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;
|
||||
|
Reference in New Issue
Block a user