mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:33:07 +00:00
This really needs to go in a branch. It needs heavy testing and can't coincide with the current shell32 due to PSDK interface changes
svn path=/branches/shell32_new-bringup/; revision=51893
This commit is contained in:
parent
4596e5e59b
commit
4019caae75
23116 changed files with 0 additions and 1109022 deletions
48
lib/rtl/rtl.h
Normal file
48
lib/rtl/rtl.h
Normal file
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS System Libraries
|
||||
* FILE: lib/rtl/rtl.h
|
||||
* PURPOSE: Run-Time Libary Header
|
||||
* PROGRAMMER: Alex Ionescu
|
||||
*/
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#ifndef RTL_H
|
||||
#define RTL_H
|
||||
|
||||
/* We're a core NT DLL, we don't import syscalls */
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_SWPRINTF_INL_
|
||||
#undef __MSVCRT__
|
||||
|
||||
/* C Headers */
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/* PSDK/NDK Headers */
|
||||
#include <windows.h>
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
/* Internal RTL header */
|
||||
#include "rtlp.h"
|
||||
|
||||
/* PSEH Support */
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
#include <intrin.h>
|
||||
|
||||
/* Use intrinsics for x86 and x64 */
|
||||
#if defined(_M_IX86) || defined(_M_AMD64)
|
||||
#define InterlockedCompareExchange _InterlockedCompareExchange
|
||||
#define InterlockedIncrement _InterlockedIncrement
|
||||
#define InterlockedDecrement _InterlockedDecrement
|
||||
#define InterlockedExchangeAdd _InterlockedExchangeAdd
|
||||
#define InterlockedExchange _InterlockedExchange
|
||||
#define InterlockedBitTestAndSet _interlockedbittestandset
|
||||
#define InterlockedBitTestAndSet64 _interlockedbittestandset64
|
||||
#endif
|
||||
|
||||
#endif /* RTL_H */
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue