mirror of
https://github.com/curl/curl.git
synced 2026-07-22 23:07:16 +03:00
Replaced read() and write() with recv() and send() for socket operations
even under normal unixes.
This commit is contained in:
parent
e60e7414b9
commit
dc82f9e6df
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
|
|||
|
||||
#else
|
||||
#define sclose(x) close(x)
|
||||
#define sread(x,y,z) read(x,y,z)
|
||||
#define swrite(x,y,z) write(x,y,z)
|
||||
#define sread(x,y,z) recv(x,y,z,0)
|
||||
#define swrite(x,y,z) send(x,y,z,0)
|
||||
#define myalarm(x) alarm(x)
|
||||
|
||||
#define PATH_CHAR ":"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue