mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
'ssize_t' seems to be a gcc 4.x built-in.
This commit is contained in:
parent
0c96056a94
commit
6a04a03eb5
@ -15,6 +15,7 @@
|
|||||||
#define HAVE_BASENAME 1
|
#define HAVE_BASENAME 1
|
||||||
#define HAVE_CLOSESOCKET 1
|
#define HAVE_CLOSESOCKET 1
|
||||||
#define HAVE_FCNTL_H 1
|
#define HAVE_FCNTL_H 1
|
||||||
|
#define HAVE_FIONBIO 1
|
||||||
#define HAVE_GETHOSTBYADDR 1
|
#define HAVE_GETHOSTBYADDR 1
|
||||||
#define HAVE_GETHOSTNAME 1
|
#define HAVE_GETHOSTNAME 1
|
||||||
#define HAVE_GETPASS 1
|
#define HAVE_GETPASS 1
|
||||||
@ -104,7 +105,10 @@
|
|||||||
|
|
||||||
#define in_addr_t u_long
|
#define in_addr_t u_long
|
||||||
#define socklen_t int
|
#define socklen_t int
|
||||||
|
|
||||||
|
#if __GNUC__ < 4 /* gcc 4.x built-in ? */
|
||||||
#define ssize_t int
|
#define ssize_t int
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user