changeset 21261:a2e02e6b6379

Rename config.h --> debug.h and include config.h explicitly.
author diego
date Sun, 26 Nov 2006 18:33:41 +0000
parents cc732ceece60
children aa706bcc07f0
files loader/afl.c loader/config.h loader/debug.h loader/driver.c loader/module.c loader/pe_image.c loader/registry.c loader/resource.c
diffstat 8 files changed, 13 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/loader/afl.c	Sun Nov 26 18:27:42 2006 +0000
+++ b/loader/afl.c	Sun Nov 26 18:33:41 2006 +0000
@@ -23,6 +23,7 @@
   
 ***************************************************************************/
 #include "config.h"
+#include "debug.h"
 
 #include "wine/winbase.h"
 #include "wine/windef.h"
--- a/loader/config.h	Sun Nov 26 18:27:42 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-#include "../config.h"
-
-#ifdef DEBUG
-#define TRACE printf
-#define dbg_printf printf
-#else
-#define TRACE(...)
-#define dbg_printf(...)
-#endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loader/debug.h	Sun Nov 26 18:33:41 2006 +0000
@@ -0,0 +1,7 @@
+#ifdef DEBUG
+#define TRACE printf
+#define dbg_printf printf
+#else
+#define TRACE(...)
+#define dbg_printf(...)
+#endif
--- a/loader/driver.c	Sun Nov 26 18:27:42 2006 +0000
+++ b/loader/driver.c	Sun Nov 26 18:33:41 2006 +0000
@@ -5,6 +5,7 @@
  */
 
 #include "config.h"
+#include "debug.h"
 
 #include <stdio.h>
 #ifdef HAVE_MALLOC_H
--- a/loader/module.c	Sun Nov 26 18:27:42 2006 +0000
+++ b/loader/module.c	Sun Nov 26 18:33:41 2006 +0000
@@ -16,6 +16,7 @@
 //#define DEBUG_QTX_API
 
 #include "config.h"
+#include "debug.h"
 
 #include <assert.h>
 #include <errno.h>
--- a/loader/pe_image.c	Sun Nov 26 18:27:42 2006 +0000
+++ b/loader/pe_image.c	Sun Nov 26 18:33:41 2006 +0000
@@ -39,6 +39,7 @@
  *   to 4096 byte boundaries on disk.
  */
 #include "config.h"
+#include "debug.h"
 
 #include <errno.h>
 #include <assert.h>
--- a/loader/registry.c	Sun Nov 26 18:27:42 2006 +0000
+++ b/loader/registry.c	Sun Nov 26 18:33:41 2006 +0000
@@ -5,6 +5,7 @@
  */
 
 #include "config.h"
+#include "debug.h"
 
 #include <stdio.h>
 #include <stdlib.h>
--- a/loader/resource.c	Sun Nov 26 18:27:42 2006 +0000
+++ b/loader/resource.c	Sun Nov 26 18:33:41 2006 +0000
@@ -10,6 +10,7 @@
  *
  */
 #include "config.h"
+#include "debug.h"
 
 #include <assert.h>
 #include <stdio.h>