mirror of
https://github.com/curl/curl.git
synced 2026-08-25 09:03:32 +03:00
Doug Kaufman's set of patches to make curl build fine on DJGPP again using
configure.
This commit is contained in:
parent
b41765f441
commit
74e5beab9d
6 changed files with 28 additions and 4 deletions
|
|
@ -200,6 +200,7 @@ typedef unsigned char bool;
|
|||
#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
|
||||
|
|
@ -229,7 +230,9 @@ typedef unsigned char bool;
|
|||
#endif
|
||||
|
||||
#define DIR_CHAR "/"
|
||||
#ifndef DOT_CHAR
|
||||
#define DOT_CHAR "."
|
||||
#endif
|
||||
|
||||
#ifdef DJGPP
|
||||
#undef DOT_CHAR
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ CURLcode Curl_readrewind(struct connectdata *conn)
|
|||
if(data->set.ioctl) {
|
||||
curlioerr err;
|
||||
|
||||
err = data->set.ioctl(data, CURLIOCMD_RESTARTREAD,
|
||||
err = (data->set.ioctl) (data, CURLIOCMD_RESTARTREAD,
|
||||
data->set.ioctl_client);
|
||||
infof(data, "the ioctl callback returned %d\n", (int)err);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue