diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/Makefile.am | 2 | ||||
-rw-r--r-- | common/log.h | 3 | ||||
-rw-r--r-- | common/pixman-region.c | 2 |
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 \ |