diff options
author | Ilia <ki.stfu@gmail.com> | 2018-12-03 18:25:24 +0300 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2018-12-03 16:25:24 +0100 |
commit | 9ac85011e216b760adc520444a2b3400bfdc3d91 (patch) | |
tree | 729e43d1a0e79ff2ff20cac8f2f7799f1ec2c1e3 | |
parent | ddfe59dd1fc4f5b9fc8622c19bd1bab46dcc5534 (diff) | |
download | coreclr-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
-rw-r--r-- | src/pal/inc/pal.h | 1 | ||||
-rw-r--r-- | src/pal/inc/pal_mstypes.h | 6 |
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 |