diff options
author | marha <marha@users.sourceforge.net> | 2009-10-04 14:17:45 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-10-04 14:17:45 +0000 |
commit | 60b8914e189b047b69bd75b28b5048707fba6dba (patch) | |
tree | 500d7b21f545ff38454d06b83e0172da2e4f6afc | |
parent | 3be38f18eefd136b644ca4423ba834eb035fd7dc (diff) | |
download | vcxsrv-60b8914e189b047b69bd75b28b5048707fba6dba.tar.gz vcxsrv-60b8914e189b047b69bd75b28b5048707fba6dba.tar.bz2 vcxsrv-60b8914e189b047b69bd75b28b5048707fba6dba.zip |
Enable some traces in debug
-rw-r--r-- | xorg-server/os/connection.c | 3 | ||||
-rw-r--r-- | xorg-server/os/makefile | 4 |
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
|