From fa85adea318e02cee3cfc2d68e4078525deb17e8 Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Wed, 28 Mar 2001 21:43:21 +0000 Subject: [PATCH] verbose output changed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@236 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/Makefile | 5 ++--- loader/win32.c | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/loader/Makefile b/loader/Makefile index 2ecc1c32fe..c04ec0a4ec 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -2,10 +2,9 @@ include ../config.mak # Generated automatically from Makefile.in by configure. DEFINES=-rdynamic -fPIC $(WIN32_PATH) $(CDOPT) -D__WINE__ -Ddbg_printf=__vprintf \ - -DTRACE=__vprintf -# -DDETAILED_OUT + -DTRACE=__vprintf # -DDETAILED_OUT -LIB_OBJECTS= pe_image.o module.o \ +LIB_OBJECTS= setup_FS.o pe_image.o module.o \ ext.o win32.o driver.o pe_resource.o \ resource.o registry.o elfdll.o afl.o vfl.o diff --git a/loader/win32.c b/loader/win32.c index ada3f8a7a7..657c6e0a54 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -138,9 +138,10 @@ static void longcount_stub(long long* z) longcount(z); } -int LOADER_DEBUG=0; +int LOADER_DEBUG=1; inline void dbgprintf(char* fmt, ...) { +#ifdef DETAILED_OUT if(LOADER_DEBUG) { FILE* f; @@ -156,6 +157,7 @@ inline void dbgprintf(char* fmt, ...) } va_end(va); } +#endif } char export_names[500][30]={ "name1",