summaryrefslogtreecommitdiff
path: root/src/pal/inc/rt/intsafe.h
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2017-01-21 00:32:12 +0100
committerGitHub <noreply@github.com>2017-01-21 00:32:12 +0100
commite210622d2b4bb3f77333fca635d7b621e5cd7c2a (patch)
tree05e3b778b1adb49a34082e35a1eb167486e397bb /src/pal/inc/rt/intsafe.h
parent4946558e0dcbe82b4f6beb31a3052426856a3f32 (diff)
downloadcoreclr-e210622d2b4bb3f77333fca635d7b621e5cd7c2a.tar.gz
coreclr-e210622d2b4bb3f77333fca635d7b621e5cd7c2a.tar.bz2
coreclr-e210622d2b4bb3f77333fca635d7b621e5cd7c2a.zip
Remove PLATFORM_UNIX and FEATURE_PAL checks in PAL (#8982)
This change removes all ifdefs for PLATFORM_UNIX and FEATURE_PAL from PAL and also removes dead code that was never compiled in PAL due to both of them being always defined for PAL.
Diffstat (limited to 'src/pal/inc/rt/intsafe.h')
-rw-r--r--src/pal/inc/rt/intsafe.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/pal/inc/rt/intsafe.h b/src/pal/inc/rt/intsafe.h
index 5cdf659041..4ed70e7423 100644
--- a/src/pal/inc/rt/intsafe.h
+++ b/src/pal/inc/rt/intsafe.h
@@ -38,47 +38,6 @@ UnsignedMultiply128 (
#endif
#endif // _AMD64_
-#ifndef FEATURE_PAL
-
-#ifdef _WIN64
-typedef unsigned __int64 size_t;
-typedef unsigned __int64 UINT_PTR;
-typedef unsigned __int64 ULONG_PTR;
-typedef unsigned __int64 DWORD_PTR;
-typedef unsigned __int64 SIZE_T;
-#else
-typedef __w64 unsigned int size_t;
-typedef __w64 unsigned int UINT_PTR;
-typedef __w64 unsigned long ULONG_PTR;
-typedef __w64 unsigned long DWORD_PTR;
-typedef __w64 unsigned long SIZE_T;
-#endif
-typedef char CHAR;
-typedef int INT;
-typedef long LONG;
-typedef unsigned char UCHAR;
-typedef unsigned short USHORT;
-typedef unsigned short WORD;
-typedef unsigned int UINT;
-typedef unsigned long ULONG;
-typedef unsigned long DWORD;
-typedef unsigned __int64 ULONGLONG;
-
-
-typedef LONG HRESULT;
-
-#ifndef SUCCEEDED
-#define SUCCEEDED(hr) (((HRESULT)(hr)) >= 0)
-#endif
-
-#ifndef FAILED
-#define FAILED(hr) (((HRESULT)(hr)) < 0)
-#endif
-
-#define S_OK ((HRESULT)0x00000000L)
-
-#endif // !FEATURE_PAL
-
#define INTSAFE_E_ARITHMETIC_OVERFLOW ((HRESULT)0x80070216L) // 0x216 = 534 = ERROR_ARITHMETIC_OVERFLOW
#ifndef LOWORD