* 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
* 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
* 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;
* 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:
* 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);
--- /dev/null
+#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_ */