2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS System Libraries
5 * PURPOSE: Run-Time Libary Header
6 * PROGRAMMER: Alex Ionescu
9 /* INCLUDES ******************************************************************/
14 /* We're a core NT DLL, we don't import syscalls */
15 #define WIN32_NO_STATUS
16 #define _INC_SWPRINTF_INL_
23 /* PSDK/NDK Headers */
25 #include <ndk/cmfuncs.h>
26 #include <ndk/exfuncs.h>
27 #include <ndk/iofuncs.h>
28 #include <ndk/kdfuncs.h>
29 #include <ndk/kefuncs.h>
30 #include <ndk/ldrfuncs.h>
31 #include <ndk/mmfuncs.h>
32 #include <ndk/obfuncs.h>
33 #include <ndk/psfuncs.h>
34 #include <ndk/rtlfuncs.h>
35 #include <ndk/setypes.h>
36 #include <ndk/sefuncs.h>
37 #include <ndk/umfuncs.h>
39 /* Internal RTL header */
43 #include <pseh/pseh2.h>
47 /* Use intrinsics for x86 and x64 */
48 #if defined(_M_IX86) || defined(_M_AMD64)
49 #define InterlockedCompareExchange _InterlockedCompareExchange
50 #define InterlockedIncrement _InterlockedIncrement
51 #define InterlockedDecrement _InterlockedDecrement
52 #define InterlockedExchangeAdd _InterlockedExchangeAdd
53 #define InterlockedExchange _InterlockedExchange
54 #define InterlockedBitTestAndSet _interlockedbittestandset
55 #define InterlockedBitTestAndSet64 _interlockedbittestandset64