Loading src/common/torint.h +10 −5 Original line number Diff line number Diff line Loading @@ -42,11 +42,6 @@ #include <inttypes.h> #endif #ifdef MS_WINDOWS /* Windows likes to capitalize ssize_t. Charming. */ #define ssize_t SSIZE_T #endif #if (SIZEOF_INT8_T != 0) #define HAVE_INT8_T #endif Loading Loading @@ -186,6 +181,16 @@ typedef unsigned __int64 uint64_t; #endif #endif #ifndef HAVE_SSIZE_T #if SIZEOF_SIZE_T == 8 typedef int64_t ssize_t; #elif SIZEOF_SIZE_T == 4 typedef int32_t ssize_t; #else #error "Can't define ssize_t." #endif #endif #if (SIZEOF_VOID_P > 4 && SIZEOF_VOID_P <= 8) #ifndef HAVE_INTPTR_T typedef int64_t intptr_t; Loading src/common/compat.c +3 −3 File changed.Contains only whitespace changes. Show changes Loading
src/common/torint.h +10 −5 Original line number Diff line number Diff line Loading @@ -42,11 +42,6 @@ #include <inttypes.h> #endif #ifdef MS_WINDOWS /* Windows likes to capitalize ssize_t. Charming. */ #define ssize_t SSIZE_T #endif #if (SIZEOF_INT8_T != 0) #define HAVE_INT8_T #endif Loading Loading @@ -186,6 +181,16 @@ typedef unsigned __int64 uint64_t; #endif #endif #ifndef HAVE_SSIZE_T #if SIZEOF_SIZE_T == 8 typedef int64_t ssize_t; #elif SIZEOF_SIZE_T == 4 typedef int32_t ssize_t; #else #error "Can't define ssize_t." #endif #endif #if (SIZEOF_VOID_P > 4 && SIZEOF_VOID_P <= 8) #ifndef HAVE_INTPTR_T typedef int64_t intptr_t; Loading