mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:33:32 +03:00
Some of Doug Kaufman's changes for the DOS port
This commit is contained in:
parent
6dd4c13bc0
commit
5b72eb0b03
5 changed files with 27 additions and 12 deletions
|
|
@ -145,6 +145,13 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
|
|||
#define sread(x,y,z) read_s(x,y,z)
|
||||
#define swrite(x,y,z) write_s(x,y,z)
|
||||
#define select(n,r,w,x,t) select_s(n,r,w,x,t)
|
||||
#define ioctl(x,y,z) ioctlsocket(x,y,(char *)(z))
|
||||
#define IOCTL_3_ARGS
|
||||
#include <tcp.h>
|
||||
#ifdef word
|
||||
#undef word
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#define sclose(x) close(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue