- Some PSDK compatibility.
svn path=/trunk/; revision=16802
/* INCLUDES ******************************************************************/
/* C Headers */
+#define _CTYPE_DISABLE_MACROS
+#define _INC_SWPRINTF_INL_
+#include <limits.h>
#include <stdio.h>
#include <ctype.h>
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)
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)
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)
{
}
}
-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)
* 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;
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include <ntdll.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include <ntdll.h>
/*
* @implemented
* PURPOSE: converts an ascii string to 64 bit integer
*/
-#include <stdlib.h>
-#define __NO_CTYPE_INLINES
-#include <ctype.h>
+#include <ntdll.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include <ntdll.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include <ntdll.h>
/*
* @implemented
* Copyright 2003 Thomas Mertes
*/
-#include <stdlib.h>
-#include <string.h>
+#include <ntdll.h>
/*
* @implemented
* 1998: Added ltoa Boudewijn Dekker
*/
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include <ntdll.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include <ntdll.h>
/*
* @implemented
-#include <search.h>
-#include <stdlib.h>
+#include <ntdll.h>
/*
-#include <stdlib.h>
-#include <string.h>
+#include <ntdll.h>
/*
* @implemented
/* 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
/* 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>
/*
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <limits.h>
-#include <ctype.h>
-#include <stdlib.h>
+#include <ntdll.h>
/*
/* 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.
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include <ntdll.h>
/*
* @implemented
* PURPOSE: converts a unicode string to 64 bit integer
*/
-#include <stdlib.h>
-#include <ctype.h>
+#include <ntdll.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include <ntdll.h>
/*
* @implemented
* 29/12/1999: Added missing functions and changed
* all functions to use ctype table
*/
-#undef __MSVCRT__
-#include <ctype.h>
+#include <ntdll.h>
#undef _pctype
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-#include <ctype.h>
+#include <ntdll.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-#include <ctype.h>
+#include <ntdll.h>
/*
* @implemented
* Copyright 1997 Uwe Bonnes
*/
-#include <string.h>
-#include <ctype.h>
+#include <ntdll.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-#include <ctype.h>
+#include <ntdll.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-//#include <unconst.h>
+#include <ntdll.h>
/*
* @implemented
*/
-#include <string.h>
-#include <ctype.h>
+#include <ntdll.h>
/*
* @implemented
/* INCLUDES *****************************************************************/
-#include <wchar.h>
+#include <ntdll.h>
/* FUNCTIONS *****************************************************************/