diff options
Diffstat (limited to 'loader')
-rw-r--r-- | loader/Makefile | 5 | ||||
-rw-r--r-- | 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", |