cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl 7.9.3pre3 on mingw

From: Andrés García <fandom_at_retemail.es>
Date: Fri, 18 Jan 2002 00:41:31 +0100

Hi,

The latest prerelease doesn't compile using
mingw, fortunately, it is not hard to solve:

diff -u -r curl-7.9.3-pre3.orig/lib/Makefile.m32
curl-7.9.3-pre3/lib/Makefile.m32
--- curl-7.9.3-pre3.orig/lib/Makefile.m32 Fri Nov 2 08:31:18 2001
+++ curl-7.9.3-pre3/lib/Makefile.m32 Thu Jan 17 16:28:18 2002
@@ -35,14 +35,14 @@
         ldap.h ssluse.h escape.c getenv.h mprintf.c telnet.c escape.h getpass.c
netrc.c \
         telnet.h getinfo.c strequal.c strequal.h easy.c security.h \
         security.c krb4.h krb4.c memdebug.h memdebug.c inet_ntoa_r.h http_chunks.h
http_chunks.c \
- strtok.c connect.c
+ strtok.c connect.c hash.c llist.c

 libcurl_a_OBJECTS = file.o timeval.o base64.o hostip.o progress.o \
         formdata.o cookie.o http.o sendf.o ftp.o url.o dict.o if2ip.o \
         speedcheck.o getdate.o transfer.o ldap.o ssluse.o version.o \
         getenv.o escape.o mprintf.o telnet.o getpass.o netrc.o getinfo.o \
         strequal.o easy.o security.o krb4.o memdebug.o http_chunks.o \
- strtok.o connect.o
+ strtok.o connect.o hash.o llist.o

 LIBRARIES = $(libcurl_a_LIBRARIES)
 SOURCES = $(libcurl_a_SOURCES)
diff -u -r curl-7.9.3-pre3.orig/lib/sendf.c curl-7.9.3-pre3/lib/sendf.c
--- curl-7.9.3-pre3.orig/lib/sendf.c Wed Jan 16 23:28:58 2002
+++ curl-7.9.3-pre3/lib/sendf.c Thu Jan 17 16:24:16 2002
@@ -227,7 +227,7 @@
     }
     if(-1 == bytes_written) {
 #ifdef WIN32
- if(EWOULDBLOCK == GetLastError())
+ if(WSAEWOULDBLOCK == GetLastError())
 #else
       if(EWOULDBLOCK == errno)
 #endif
@@ -339,7 +339,7 @@

     if(-1 == nread) {
 #ifdef WIN32
- if(EWOULDBLOCK == GetLastError())
+ if(WSAEWOULDBLOCK == GetLastError())
 #else
       if(EWOULDBLOCK == errno)
 #endif

Andres
Received on 2002-01-18