diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-08-11 23:21:51 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-08-11 23:21:51 +0000 |
commit | 5126f203f23773f64b51e5c0c7b7e1d702f26ca9 (patch) | |
tree | 139b1bbb5f0a3d72d74d4b7d5a1a8ecc876210e9 /src/common/torint.h | |
parent | 58e2edfb24ed19427ec52d058ffa8aecb5a94cf8 (diff) | |
download | tor-5126f203f23773f64b51e5c0c7b7e1d702f26ca9.tar tor-5126f203f23773f64b51e5c0c7b7e1d702f26ca9.tar.gz |
Work on systems with broken AC_CHECK_TYPE
svn:r379
Diffstat (limited to 'src/common/torint.h')
-rw-r--r-- | src/common/torint.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/common/torint.h b/src/common/torint.h index 75032d8f6..96b1e8333 100644 --- a/src/common/torint.h +++ b/src/common/torint.h @@ -15,6 +15,31 @@ #endif +#if (SIZEOF_INT8_T != 0) +#define HAVE_INT8_T +#endif +#if (SIZEOF_INT16_T != 0) +#define HAVE_INT16_T +#endif +#if (SIZEOF_INT32_T != 0) +#define HAVE_INT32_T +#endif +#if (SIZEOF_INT64_T != 0) +#define HAVE_INT64_T +#endif +#if (SIZEOF_UINT8_T != 0) +#define HAVE_UINT8_T +#endif +#if (SIZEOF_UINT16_T != 0) +#define HAVE_UINT16_T +#endif +#if (SIZEOF_UINT32_T != 0) +#define HAVE_UINT32_T +#endif +#if (SIZEOF_UINT64_T != 0) +#define HAVE_UINT64_T +#endif + #if (SIZEOF_CHAR == 1) #ifndef HAVE_INT8_T typedef signed char int8_t; |