From 60b8914e189b047b69bd75b28b5048707fba6dba Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 4 Oct 2009 14:17:45 +0000 Subject: Enable some traces in debug --- xorg-server/os/connection.c | 3 +++ xorg-server/os/makefile | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'xorg-server/os') 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 +#ifdef _DEBUG +#define DEBUG +#endif #endif #include #include 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 -- cgit v1.2.3