[IMAGEHLP]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 24 Dec 2013 21:02:32 +0000 (21:02 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 24 Dec 2013 21:02:32 +0000 (21:02 +0000)
* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
CORE-7716

svn path=/trunk/; revision=61382

reactos/dll/win32/imagehlp/access.c
reactos/dll/win32/imagehlp/imagehlp_main.c
reactos/dll/win32/imagehlp/integrity.c
reactos/dll/win32/imagehlp/modify.c
reactos/dll/win32/imagehlp/precomp.h [new file with mode: 0644]

index bf3e436..98c2718 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-//#include <string.h>
-#include <windef.h>
-#include <winbase.h>
-//#include "winnt.h"
-#include <winternl.h>
-//#include "winerror.h"
-#include <wine/debug.h>
-#include <imagehlp.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
+#include "precomp.h"
 
 /***********************************************************************
  *           Data
index b451a2d..a2b79d4 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "imagehlp.h"
-//#include <wine/debug.h>
+#include "precomp.h"
 
 /**********************************************************************/
 DECLSPEC_HIDDEN HANDLE IMAGEHLP_hHeap = NULL;
index 5c56847..9d79fa8 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-//#include "winternl.h"
-//#include "winnt.h"
-#include <imagehlp.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
+#include "precomp.h"
 
 /*
  * These functions are partially documented at:
index a6fa890..8a1d191 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winternl.h"
-//#include "winerror.h"
-#include <wine/debug.h>
-#include <imagehlp.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
+#include "precomp.h"
 
 static WORD CalcCheckSum(DWORD StartValue, LPVOID BaseAddress, DWORD WordCount);
 
diff --git a/reactos/dll/win32/imagehlp/precomp.h b/reactos/dll/win32/imagehlp/precomp.h
new file mode 100644 (file)
index 0000000..27d9c0c
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef _IMAGEHLP_PCH_
+#define _IMAGEHLP_PCH_
+
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+
+#include <windef.h>
+#include <winbase.h>
+#include <winternl.h>
+#include <imagehlp.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
+
+#endif /* _IMAGEHLP_PCH_ */