summaryrefslogtreecommitdiff
path: root/setup.h
AgeCommit message (Collapse)AuthorFilesLines
2007-01-30Support for OpenWatcom (Win32): It do have getpid(), but noGisle Vanem1-1/+1
<sys/time.h>.
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse1-1/+1
to verify winsock API availability.
2006-10-18Introduce symbol USE_WINSOCK which will be defined whenYang Tse1-0/+16
using winsock or winsock2 API.
2006-08-04Avoid redundant check. configure script takes care of not definingYang Tse1-2/+4
HAVE_WINDOWS_H, HAVE_WINSOCK_H, HAVE_WINSOCK2_H, neither HAVE_WS2TCPIP_H when __CYGWIN__ is defined.
2006-07-28First step trying to avoid the multiple header inclusion and recursion ↵Yang Tse1-0/+8
nightmare. Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
2006-07-22Added CVS id.Gisle Vanem1-1/+1
2006-07-22Added CVS id.Gisle Vanem1-0/+2
2006-07-05Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows ↵Yang Tse1-2/+4
headers when compiled with Cygwin in POSIX emulation mode.
2005-12-20Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence theGisle Vanem1-10/+11
rearrangement in ares_process.c.
2005-12-17Fix typoYang Tse1-1/+1
2005-12-17Windows related cleanupYang Tse1-26/+55
2005-12-16'Fix' windows buildsYang Tse1-2/+28
2005-11-10Use config-win32.h on Windows. Fixes for djgpp.Gisle Vanem1-2/+9
2005-11-09MSVC fix for 'socklen_t'. Replace <winsock.h> with <winsock2.h> +Gisle Vanem1-1/+4
<ws2tcpip.h> since IPv6 is no longer optional (was it ever?)
2005-05-16Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio1-0/+1
2005-04-06moved the *_inet_pton protos to inet_net_pton.h insteadDaniel Stenberg1-22/+0
2005-04-06made the ares_inet_net_pton() proto use size_t size, as the function in theDaniel Stenberg1-1/+1
code uses that
2005-04-05Provided implementations of inet_net_pton and inet_pton from BIND for ↵Dominick Meglio1-0/+11
systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.
2005-03-22Prevent redefinition warning with CURLDEBUG.Gisle Vanem1-1/+1
2005-03-10Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. TheDaniel Stenberg1-3/+23
first little steps towards IPv6 support!
2004-08-20No <sys/uio.h> on DOS/Win32Gisle Vanem1-7/+1
2004-08-20Changes for Watt-32 on Windows. I've assumed ConfigureGisle Vanem1-1/+34
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-07-24Gisle Vanem:Daniel Stenberg1-0/+1
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-22- Fixed a few variable return types for some system calls. Made configureDaniel Stenberg1-0/+44
check for ssize_t to make it possible to use that when receiving the send() error code. This is necessary to prevent compiler warnings on some systems. - Made configure create config.h, and all source files now include setup.h that might include the proper config.h (or a handicrafted alternative). - Switched to 'ares_socket_t' type for sockets in ares, since Windows don't use 'int' for that. - automake-ified and libool-ified c-ares. Now it builds libcares as a shared lib on most platforms if wanted. (This bloated the size of the release archive with another 200K!) - Makefile.am now uses Makefile.inc for the c sources, h headers and man pages, to make it easier for other makefiles to use the exact same set of files. - Adjusted 'maketgz' to use the new automake magic when building distribution archives.