changeset 9962:496fbdabeb7c

moved some obsolete debug stuff
author alex
date Mon, 21 Apr 2003 19:35:39 +0000
parents 1a6057610a61
children 305cc11b27e5
files loader/Makefile loader/config.h
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/Makefile	Mon Apr 21 19:16:31 2003 +0000
+++ b/loader/Makefile	Mon Apr 21 19:35:39 2003 +0000
@@ -1,8 +1,8 @@
 include ../config.mak
 
 # Generated automatically from Makefile.in by configure.
-DEFINES=-DMPLAYER -D__WINE__ -Ddbg_printf=__vprintf \
-	-DTRACE=__vprintf # -DDETAILED_OUT
+DEFINES=-DMPLAYER -D__WINE__ #-Ddbg_printf=__vprintf \
+	#-DTRACE=__vprintf # -DDETAILED_OUT
 
 LIB_OBJECTS= ldt_keeper.o pe_image.o module.o \
 ext.o win32.o driver.o pe_resource.o \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loader/config.h	Mon Apr 21 19:35:39 2003 +0000
@@ -0,0 +1,9 @@
+#include "../config.h"
+
+#ifdef DEBUG
+#define TRACE printf
+#define dbg_printf printf
+#else
+#define TRACE(...)
+#define dbg_printf(...)
+#endif