summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-18 23:31:33 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-18 23:31:33 +0000
commita39dd07546ab48648021f03e87b2831ffaf50df8 (patch)
tree788b8db0b2dd4162318084739b863412b7a73612 /src/log.h
parentdoing replay protection before learning remote host (diff)
some cleanup
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/log.h b/src/log.h
index 29f3cb8..b6baf6f 100644
--- a/src/log.h
+++ b/src/log.h
@@ -34,7 +34,7 @@
#include <string>
#include <sstream>
-#ifndef NOSYSLOG
+#ifndef NO_SYSLOG
#include <syslog.h>
#endif
@@ -43,7 +43,7 @@
#define STERROR_TEXT_MAX 100
-#ifndef NOCRYPT
+#ifndef NO_CRYPT
#ifndef USE_SSL_CRYPTO
#include <gcrypt.h>
@@ -86,7 +86,7 @@ private:
class Log : public std::ostringstream
{
public:
-#ifndef NOSYSLOG
+#ifndef NO_SYSLOG
static const int FAC_USER = LOG_USER;
static const int FAC_MAIL = LOG_MAIL;
static const int FAC_DAEMON = LOG_DAEMON;