Yang Tse
413a37e409
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
19 years ago
Yang Tse
c43edebb70
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.
19 years ago
Yang Tse
4b3090680a
Cleanup windows header includes. Where aplicable, inclusion of
...
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
19 years ago
Gisle Vanem
0776e67138
Added CVS id. Detabified.
19 years ago
Daniel Stenberg
3a80a3eb01
better errno constant replacements, as mentioned by Gisle Vanem
20 years ago
Daniel Stenberg
3d90cb252b
with these changes, it builds on my win32 cross-compiler
20 years ago
Gisle Vanem
6deb40acac
Changes for Watt-32 on Windows. I've assumed Configure
...
sets the required HAVE_xx defines for non-DOS/Win targets.
21 years ago
Daniel Stenberg
e8e8d3a407
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.
21 years ago
Gunter Knauf
c73d12e2e4
added few ifdefs to make it usable for NetWare.
21 years ago
Daniel Stenberg
e7293e0779
djgpp fixes by Gisle
21 years ago
Daniel Stenberg
3f01f1b772
mingw has str(n)casecmp() functions
21 years ago
Daniel Stenberg
9df1eda502
timezone dummy to build better on Windows - Gisle Vanem
21 years ago
Daniel Stenberg
69d192ba1e
include process.h to get the _getpid() proto
21 years ago
Daniel Stenberg
49eceda4dd
prevent a compiler warning about a macro definition
21 years ago
Daniel Stenberg
c72a2f4af7
prevent the windows version to use global symbol names
...
added prototypes for the strcasecmp() functions
21 years ago
Daniel Stenberg
2c9c9e92fd
Dominick Meglio's fix to make our private gettimeofday() use the ares_
...
namespace
21 years ago
Daniel Stenberg
5e847a14bd
ares 1.1.1 with collected applied patches
21 years ago