diff options
author | Aliaksey Kandratsenka <alkondratenko@gmail.com> | 2021-02-14 13:39:55 -0800 |
---|---|---|
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | 2021-02-14 15:44:14 -0800 |
commit | 0c11d35f4a2a0f5f42ee684a3f5b27cbab8abae2 (patch) | |
tree | dd8c9e9fede71813aff61de09ea3ff2ae9294cf7 /src | |
parent | 92718aaaeb08d139b346633333235bf2260d0848 (diff) | |
download | gperftools-0c11d35f4a2a0f5f42ee684a3f5b27cbab8abae2.tar.gz |
amputate checking for __int64
Since everything supports stdint.h this days.
Diffstat (limited to 'src')
-rw-r--r-- | src/windows/config.h | 5 | ||||
-rw-r--r-- | src/windows/port.h | 11 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/windows/config.h b/src/windows/config.h index 0f320a0..bbc1bb0 100644 --- a/src/windows/config.h +++ b/src/windows/config.h @@ -154,9 +154,7 @@ /* #undef HAVE_SCHED_H */ /* Define to 1 if you have the <stdint.h> header file. */ -#if defined(_MSC_VER) && _MSC_VER >= 1900 #define HAVE_STDINT_H 1 -#endif /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 @@ -224,9 +222,6 @@ /* Define to 1 if compiler supports __environ */ /* #undef HAVE___ENVIRON */ -/* Define to 1 if the system has the type `__int64'. */ -#define HAVE___INT64 1 - /* Define to 1 if you have the `__sbrk' function. */ /* #undef HAVE___SBRK */ diff --git a/src/windows/port.h b/src/windows/port.h index eb9702b..f5dda88 100644 --- a/src/windows/port.h +++ b/src/windows/port.h @@ -102,20 +102,9 @@ /* ----------------------------------- BASIC TYPES */ #ifndef HAVE_STDINT_H -#ifndef HAVE___INT64 /* we need to have all the __intX names */ # error Do not know how to set up type aliases. Edit port.h for your system. #endif -typedef __int8 int8_t; -typedef __int16 int16_t; -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int8 uint8_t; -typedef unsigned __int16 uint16_t; -typedef unsigned __int32 uint32_t; -typedef unsigned __int64 uint64_t; -#endif /* #ifndef HAVE_STDINT_H */ - /* I guess MSVC's <types.h> doesn't include ssize_t by default? */ #ifdef _MSC_VER typedef intptr_t ssize_t; |