Yang Tse
a0b8ac2bdc
improve portability, defining MAXDNAME and MAXCDNAME
17 years ago
Gunter Knauf
76a007538c
although the check for HAVE_STRUCT_TIMEVAL solved the redefine it is incorrect; lets see if a check for HAVE_GETTIMEOFDAY also works; if gettimeofday() is present then we can assume we have the timezone struct too.
18 years ago
Gunter Knauf
5a6af8adbc
trial to catch problem with Daniels cross-mingw ares builds.
18 years ago
Yang Tse
ee2df583d3
Move portable error number symbolic name definitions to setup_once.h
18 years ago
Gisle Vanem
4a30753b47
Support for OpenWatcom (Win32): It do have getpid(), but no
...
<sys/time.h>.
18 years ago
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