summaryrefslogtreecommitdiffstats
path: root/common
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
parent37b4a14b5472eaeb1650e915b7b302d1d7d1adf2 (diff)
downloadxrdp-proprietary-26a26ef906be8569abcabb710fabf46fff9e54e1.tar.gz
xrdp-proprietary-26a26ef906be8569abcabb710fabf46fff9e54e1.zip
fix build with --enable-xrdpdebug=yes
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am2
-rw-r--r--common/log.h3
-rw-r--r--common/pixman-region.c2
3 files changed, 2 insertions, 5 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 15466c9a..0af033a3 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -20,8 +20,6 @@ AM_CPPFLAGS = \
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
-else
-AM_CPPFLAGS += -DXRDP_NODEBUG
endif
AM_CFLAGS = $(OPENSSL_CFLAGS)
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...)
diff --git a/common/pixman-region.c b/common/pixman-region.c
index b1949950..2d199de8 100644
--- a/common/pixman-region.c
+++ b/common/pixman-region.c
@@ -79,7 +79,7 @@
#define GOOD_RECT(rect) ((rect)->x1 < (rect)->x2 && (rect)->y1 < (rect)->y2)
#define BAD_RECT(rect) ((rect)->x1 > (rect)->x2 || (rect)->y1 > (rect)->y2)
-#ifdef DEBUG
+#ifdef XRDP_DEBUG
#define GOOD(reg) \
do \