- Use PCH everywhere to increase compile speed

- Some PSDK compatibility.

svn path=/trunk/; revision=16802
This commit is contained in:
Alex Ionescu 2005-07-27 16:18:06 +00:00
parent c91952309a
commit 5af8e51ad1
28 changed files with 33 additions and 55 deletions

View file

@ -9,6 +9,9 @@
/* INCLUDES ******************************************************************/
/* C Headers */
#define _CTYPE_DISABLE_MACROS
#define _INC_SWPRINTF_INL_
#include <limits.h>
#include <stdio.h>
#include <ctype.h>

View file

@ -96,7 +96,7 @@ LdrMappedAsDataFile(PVOID *BaseAddress)
return FALSE;
}
static inline LONG LdrpDecrementLoadCount(PLDR_DATA_TABLE_ENTRY Module, BOOLEAN Locked)
static __inline LONG LdrpDecrementLoadCount(PLDR_DATA_TABLE_ENTRY Module, BOOLEAN Locked)
{
LONG LoadCount;
if (!Locked)
@ -115,7 +115,7 @@ static inline LONG LdrpDecrementLoadCount(PLDR_DATA_TABLE_ENTRY Module, BOOLEAN
return LoadCount;
}
static inline LONG LdrpIncrementLoadCount(PLDR_DATA_TABLE_ENTRY Module, BOOLEAN Locked)
static __inline LONG LdrpIncrementLoadCount(PLDR_DATA_TABLE_ENTRY Module, BOOLEAN Locked)
{
LONG LoadCount;
if (!Locked)
@ -134,7 +134,7 @@ static inline LONG LdrpIncrementLoadCount(PLDR_DATA_TABLE_ENTRY Module, BOOLEAN
return LoadCount;
}
static inline VOID LdrpAcquireTlsSlot(PLDR_DATA_TABLE_ENTRY Module, ULONG Size, BOOLEAN Locked)
static __inline VOID LdrpAcquireTlsSlot(PLDR_DATA_TABLE_ENTRY Module, ULONG Size, BOOLEAN Locked)
{
if (!Locked)
{
@ -149,7 +149,7 @@ static inline VOID LdrpAcquireTlsSlot(PLDR_DATA_TABLE_ENTRY Module, ULONG Size,
}
}
static inline VOID LdrpTlsCallback(PLDR_DATA_TABLE_ENTRY Module, ULONG dwReason)
static __inline VOID LdrpTlsCallback(PLDR_DATA_TABLE_ENTRY Module, ULONG dwReason)
{
PIMAGE_TLS_CALLBACK TlsCallback;
if (Module->TlsIndex != 0xFFFF && Module->LoadCount == 0xFFFF)

View file

@ -406,7 +406,7 @@ RtlSetCurrentDirectory_U(PUNICODE_STRING dir)
* 2) Get rid of duplicate backslashes
* 3) Get rid of . and .. components in the path.
*/
static inline void collapse_path( WCHAR *path, UINT mark )
static __inline void collapse_path( WCHAR *path, UINT mark )
{
WCHAR *p, *next;

View file

@ -1,5 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,5 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -6,9 +6,7 @@
* PURPOSE: converts an ascii string to 64 bit integer
*/
#include <stdlib.h>
#define __NO_CTYPE_INLINES
#include <ctype.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,5 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,5 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -15,8 +15,7 @@
* Copyright 2003 Thomas Mertes
*/
#include <stdlib.h>
#include <string.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -9,7 +9,7 @@
* 1998: Added ltoa Boudewijn Dekker
*/
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,5 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,5 +1,4 @@
#include <search.h>
#include <stdlib.h>
#include <ntdll.h>
/*

View file

@ -1,5 +1,4 @@
#include <stdlib.h>
#include <string.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,9 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <limits.h>
#define __NO_CTYPE_INLINES
#include <ctype.h>
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,8 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <limits.h>
#define __NO_CTYPE_INLINES
#include <ctype.h>
#include <stdlib.h>
#include <ntdll.h>
/*

View file

@ -1,7 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <limits.h>
#include <ctype.h>
#include <stdlib.h>
#include <ntdll.h>
/*

View file

@ -1,8 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <limits.h>
#include <ctype.h>
#include <stdlib.h>
#include <ntdll.h>
/*
* Convert a unicode string to an unsigned long integer.

View file

@ -1,5 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -6,8 +6,7 @@
* PURPOSE: converts a unicode string to 64 bit integer
*/
#include <stdlib.h>
#include <ctype.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,5 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdlib.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -10,8 +10,7 @@
* 29/12/1999: Added missing functions and changed
* all functions to use ctype table
*/
#undef __MSVCRT__
#include <ctype.h>
#include <ntdll.h>
#undef _pctype

View file

@ -1,6 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <string.h>
#include <ctype.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,6 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <string.h>
#include <ctype.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -8,8 +8,7 @@
* Copyright 1997 Uwe Bonnes
*/
#include <string.h>
#include <ctype.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,6 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <string.h>
#include <ctype.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -1,6 +1,5 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <string.h>
//#include <unconst.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -9,8 +9,7 @@
*/
#include <string.h>
#include <ctype.h>
#include <ntdll.h>
/*
* @implemented

View file

@ -12,7 +12,7 @@
/* INCLUDES *****************************************************************/
#include <wchar.h>
#include <ntdll.h>
/* FUNCTIONS *****************************************************************/