diff --git a/reactos/include/ddk/li.h b/reactos/include/ddk/li.h deleted file mode 100644 index 9c00737b8d3..00000000000 --- a/reactos/include/ddk/li.h +++ /dev/null @@ -1,38 +0,0 @@ - -#ifndef __DDK_LI_H -#define __DDK_LI_H - -#define QUAD_PART(LI) (*(LONGLONG *)(&LI)) - -#ifdef COMPILER_LARGE_INTEGERS - -#define GET_LARGE_INTEGER_HIGH_PART(LI) ( ( (LI) >> 32) ) -#define GET_LARGE_INTEGER_LOW_PART(LI) (ULONG)( ((LI) & 0xFFFFFFFF) ) -#define SET_LARGE_INTEGER_HIGH_PART(LI, HP) \ - ( (LI) = ((LI) & 0xFFFFFFFFL) | ( ((LARGE_INTEGER)(HP)) << 32 ) ) -#define SET_LARGE_INTEGER_LOW_PART(LI, LP) \ - ( (LI) = ((LI) & 0xFFFFFFFF00000000L) | (LP) ) -#define LARGE_INTEGER_QUAD_PART(LI) (LI) -#define INITIALIZE_LARGE_INTEGER (0) - -typedef long long int LONGLONG, *PLONGLONG; -typedef unsigned long long int ULONGLONG, *PULONGLONG; - -#else - -#define GET_LARGE_INTEGER_HIGH_PART(LargeInteger) ( (LargeInteger).HighPart ) -#define GET_LARGE_INTEGER_LOW_PART(LargeInteger) ( (LargeInteger).LowPart ) -#define SET_LARGE_INTEGER_HIGH_PART(LargeInteger,Signed_Long) \ - ((LargeInteger).HighPart = (Signed_Long)) -#define SET_LARGE_INTEGER_LOW_PART(LargeInteger,Unsigned_Long) \ - ((LargeInteger).LowPart = (Unsigned_Long)) -#define LARGE_INTEGER_QUAD_PART(LI) (*(LONGLONG *)(&(LI))) -#define INITIALIZE_LARGE_INTEGER ({0,0}) - -typedef double LONGLONG, *PLONGLONG; -typedef double ULONGLONG, *PULONGLONG; - -#endif - -#endif - diff --git a/reactos/include/kernel32/li.h b/reactos/include/kernel32/li.h deleted file mode 100644 index 7247ac814f3..00000000000 --- a/reactos/include/kernel32/li.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * COPYRIGHT: See COPYING in the top level directory - * PROJECT: ReactOS system libraries - * FILE: include/kernel32/li.h - * PURPOSE: Include file for lib/kernel32 to discard large integers - * PROGRAMMER: Ariadne ( ariadne@xs4all.nl) - * UPDATE HISTORY: - * Created 01/11/98 - */ -#ifdef COMPILER_LARGE_INTEGERS -#define GET_LARGE_INTEGER_HIGH_PART(LargeInteger) ( ( LargeInteger >> 32) ) -#define GET_LARGE_INTEGER_LOW_PART(LargeInteger) ( (LargeInteger & 0xFFFFFFFF) ) -#define SET_LARGE_INTEGER_HIGH_PART(LargeInteger,Signed_Long) ( LargeInteger |= ( ((LARGE_INTEGER)Signed_Long) << 32 ) ) -#define SET_LARGE_INTEGER_LOW_PART(LargeInteger,Unsigned_Long) ( LargeInteger |= Unsigned_Long ) -#else -#define GET_LARGE_INTEGER_HIGH_PART(LargeInteger) ( ( LargeInteger.HighPart) ) -#define GET_LARGE_INTEGER_LOW_PART(LargeInteger) ( (LargeInteger.LowPart) ) -#define SET_LARGE_INTEGER_HIGH_PART(LargeInteger,Signed_Long) ( LargeInteger.HighPart= Signed_Long ) -#define SET_LARGE_INTEGER_LOW_PART(LargeInteger,Unsigned_Long) ( LargeInteger.LowPart = Unsigned_Long ) -#endif