summaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2017-01-04 19:13:49 +0000
committervolth <volth@webmaster.ms>2017-01-04 19:20:44 +0000
commit26a26ef906be8569abcabb710fabf46fff9e54e1 (patch)
tree5f313d5c8bc31fde1a67091eca3bd02059c67cad /common/log.h
parent37b4a14b5472eaeb1650e915b7b302d1d7d1adf2 (diff)
downloadxrdp-proprietary-26a26ef906be8569abcabb710fabf46fff9e54e1.tar.gz
xrdp-proprietary-26a26ef906be8569abcabb710fabf46fff9e54e1.zip
fix build with --enable-xrdpdebug=yes
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/log.h b/common/log.h
index d6a5b8f2..d1552ccb 100644
--- a/common/log.h
+++ b/common/log.h
@@ -22,7 +22,6 @@
#include <pthread.h>
#include "arch.h"
-#include "defines.h"
/* logging buffer size */
#define LOG_BUFFER_SIZE 1024
@@ -58,7 +57,7 @@ enum logReturns
/* enable threading */
/*#define LOG_ENABLE_THREAD*/
-#ifdef DEBUG
+#ifdef XRDP_DEBUG
#define LOG_DBG(args...) log_message(LOG_LEVEL_DEBUG, args);
#else
#define LOG_DBG(args...)