summaryrefslogtreecommitdiff
path: root/src/pal
diff options
context:
space:
mode:
authorIlia <ki.stfu@gmail.com>2018-12-03 18:25:24 +0300
committerJan Vorlicek <janvorli@microsoft.com>2018-12-03 16:25:24 +0100
commit9ac85011e216b760adc520444a2b3400bfdc3d91 (patch)
tree729e43d1a0e79ff2ff20cac8f2f7799f1ec2c1e3 /src/pal
parentddfe59dd1fc4f5b9fc8622c19bd1bab46dcc5534 (diff)
downloadcoreclr-9ac85011e216b760adc520444a2b3400bfdc3d91.tar.gz
coreclr-9ac85011e216b760adc520444a2b3400bfdc3d91.tar.bz2
coreclr-9ac85011e216b760adc520444a2b3400bfdc3d91.zip
Don't typedef intptr_t/uintptr_t when PAL_STDCPP_COMPAT is defined (#21165)
Bug: 20766
Diffstat (limited to 'src/pal')
-rw-r--r--src/pal/inc/pal.h1
-rw-r--r--src/pal/inc/pal_mstypes.h6
2 files changed, 1 insertions, 6 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index c3ec812421..db2ce0d4fa 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -41,6 +41,7 @@ Abstract:
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
diff --git a/src/pal/inc/pal_mstypes.h b/src/pal/inc/pal_mstypes.h
index 0aa35ae1e5..9f305c626d 100644
--- a/src/pal/inc/pal_mstypes.h
+++ b/src/pal/inc/pal_mstypes.h
@@ -586,12 +586,6 @@ typedef LONG_PTR LPARAM;
#ifdef PAL_STDCPP_COMPAT
-#ifdef BIT64
-typedef unsigned long int uintptr_t;
-#else // !BIT64
-typedef unsigned int uintptr_t;
-#endif // !BIT64
-
typedef char16_t WCHAR;
#else // PAL_STDCPP_COMPAT