aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-04 14:17:45 +0000
committermarha <marha@users.sourceforge.net>2009-10-04 14:17:45 +0000
commit60b8914e189b047b69bd75b28b5048707fba6dba (patch)
tree500d7b21f545ff38454d06b83e0172da2e4f6afc /xorg-server/os
parent3be38f18eefd136b644ca4423ba834eb035fd7dc (diff)
downloadvcxsrv-60b8914e189b047b69bd75b28b5048707fba6dba.tar.gz
vcxsrv-60b8914e189b047b69bd75b28b5048707fba6dba.tar.bz2
vcxsrv-60b8914e189b047b69bd75b28b5048707fba6dba.zip
Enable some traces in debug
Diffstat (limited to 'xorg-server/os')
-rw-r--r--xorg-server/os/connection.c3
-rw-r--r--xorg-server/os/makefile4
2 files changed, 7 insertions, 0 deletions
diff --git a/xorg-server/os/connection.c b/xorg-server/os/connection.c
index 1bbc8807d..68f75ac3b 100644
--- a/xorg-server/os/connection.c
+++ b/xorg-server/os/connection.c
@@ -67,6 +67,9 @@ SOFTWARE.
#ifdef WIN32
#include <X11/Xwinsock.h>
+#ifdef _DEBUG
+#define DEBUG
+#endif
#endif
#include <X11/X.h>
#include <X11/Xproto.h>
diff --git a/xorg-server/os/makefile b/xorg-server/os/makefile
index cf9eaf53f..e24d39a2b 100644
--- a/xorg-server/os/makefile
+++ b/xorg-server/os/makefile
@@ -1,3 +1,7 @@
+ifeq ($(DEBUG),1)
+DEFINES += XSERVER_DTRACE
+endif
+
CSRCS=access.c auth.c backtrace.c connection.c io.c log.c mitauth.c os.c oscolor.c osinit.c rpcauth.c strlcat.c strlcpy.c utils.c WaitFor.c xdmauth.c xdmcp.c xprintf.c xstrans.c
LIBRARY=libos