File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 39
39
#include <sys/time.h> /* for struct timeval */
40
40
#else
41
41
struct timeval ; /* forward declaration */
42
- typedef long long ssize_t ;
42
+ typedef intptr_t ssize_t ;
43
43
#endif
44
44
#include <stdint.h> /* uintXX_t, etc */
45
45
#include "sds.h" /* for sds */
Original file line number Diff line number Diff line change 35
35
36
36
#define SDS_MAX_PREALLOC (1024*1024)
37
37
#ifdef _MSC_VER
38
- typedef long long ssize_t ;
39
- #define SSIZE_MAX (LLONG_MAX >> 1)
38
+ typedef intptr_t ssize_t ;
39
+ #define SSIZE_MAX INTPTR_MAX
40
40
#ifndef __clang__
41
41
#define __attribute__ (x )
42
42
#endif
Original file line number Diff line number Diff line change 53
53
#include <mstcpip.h>
54
54
55
55
#ifdef _MSC_VER
56
- typedef long long ssize_t ;
56
+ typedef intptr_t ssize_t ;
57
57
#endif
58
58
59
59
/* Emulate the parts of the BSD socket API that we need (override the winsock signatures). */
You can’t perform that action at this time.
0 commit comments