1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-06 01:25:33 -05:00
Commit Graph

19 Commits

Author SHA1 Message Date
Yang Tse
d9bf55570b Move portable error number symbolic name definitions to setup_once.h 2007-02-17 13:51:24 +00:00
Gisle Vanem
e1e55e4d04 Support for OpenWatcom (Win32): It do have getpid(), but no
<sys/time.h>.
2007-01-30 13:15:07 +00:00
Yang Tse
bc2f0c7dcb Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode. 2006-07-05 23:10:37 +00:00
Yang Tse
e6b98d3152 Undo previous change. This header file belongs to the public
interface and the change could break the compilation of thrid
party apps which link against this library.
2005-12-19 00:15:04 +00:00
Yang Tse
d6c5d24af3 Cleanup windows header includes. Where aplicable, inclusion of
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-12-18 15:36:14 +00:00
Gisle Vanem
ec65c3fd53 Added CVS id. Detabified. 2005-11-12 14:44:26 +00:00
Daniel Stenberg
1d9fff80b7 better errno constant replacements, as mentioned by Gisle Vanem 2005-04-06 21:14:58 +00:00
Daniel Stenberg
eccd0d8e37 with these changes, it builds on my win32 cross-compiler 2005-04-05 20:20:14 +00:00
Gisle Vanem
b17e32baa7 Changes for Watt-32 on Windows. I've assumed Configure
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-08-20 13:45:26 +00:00
Daniel Stenberg
b3b2ba31f7 Gisle Vanem:
Basically in loops like handle_errors(), 'query->next' was assigned a local
variable and then query was referenced after the memory was freed by
next_server(). I've changed that so next_server() and end_query() returns the
next query. So callers should use this ret-value.

The next problem was that 'server->tcp_buffer_pos' had a random value at entry
to 1st recv() (luckily causing Winsock to return ENOBUFS).

I've also added a ares_writev() for Windows to streamline the code
a bit more.
2004-07-24 21:47:49 +00:00
Gunter Knauf
2cda3070d5 added few ifdefs to make it usable for NetWare. 2004-07-03 21:48:42 +00:00
Daniel Stenberg
60af1cbcc2 djgpp fixes by Gisle 2004-07-01 13:55:13 +00:00
Daniel Stenberg
be6af69dc7 mingw has str(n)casecmp() functions 2004-03-09 10:18:09 +00:00
Daniel Stenberg
3a80dc7f3e timezone dummy to build better on Windows - Gisle Vanem 2004-03-09 09:47:51 +00:00
Daniel Stenberg
a271cfb697 include process.h to get the _getpid() proto 2004-02-05 12:19:13 +00:00
Daniel Stenberg
1fa163fdf7 prevent a compiler warning about a macro definition 2004-02-04 08:04:28 +00:00
Daniel Stenberg
82b27d1b97 prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions
2004-02-04 08:00:25 +00:00
Daniel Stenberg
9ebe4ab60c Dominick Meglio's fix to make our private gettimeofday() use the ares_
namespace
2004-01-04 12:19:06 +00:00
Daniel Stenberg
0436fbe226 ares 1.1.1 with collected applied patches 2003-10-07 21:54:04 +00:00