bab721cb1c
setup_once.h cleanup and sync
2011-09-04 17:09:36 +02:00
a8f62e82bf
config-win32.h: comments adjustments - followup
2011-08-06 19:25:21 +02:00
3d7af9782e
config-win32.h: comments adjustments
2011-08-06 19:18:16 +02:00
822fd0f877
build: use getenv() replacement function for systems which lack it
2011-03-23 13:44:42 +01:00
8c503ddf79
System's errno.h inclusion cleanup.
...
System's errno.h is conditionally included from setup_once.h
2011-03-22 14:02:23 +01:00
1cfd800d4a
config-win32: provide HAVE_ASSERT_H definition
2010-12-17 18:42:59 +01:00
4d061e6b23
build: provide SIZEOF_SIZE_T definition for non-configure builds
2010-12-03 04:41:16 +01:00
63627fa5ab
remove all $Id$ lines
2010-03-27 19:42:02 +01:00
b6ffa03a21
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
2010-02-28 02:51:35 +00:00
c2d3f7986b
- Ingmar Runge noticed that Windows config-win32.h configuration file
...
did not include a definition for HAVE_CLOSESOCKET which resulted in
function close() being inappropriately used to close sockets.
2009-12-21 16:55:39 +00:00
76f24cfdbd
Fix Pelles C Win32 target compilation issues
2009-10-27 16:38:42 +00:00
b7bb0a5722
Fix ssize_t redefinition errors on WIN64 reported by Alexey Simak
2009-10-06 13:59:37 +00:00
262ff45c9d
use HAVE_LIMITS_H symbol to protect limits.h inclusion
2009-04-14 13:50:32 +00:00
9e0140f455
Do not halt compilation when using VS2008 to build a Windows 2000 target
2009-02-20 11:30:11 +00:00
ffbe1c5518
Added needed defines for Watt-32 on Windows.
2008-12-08 16:12:11 +00:00
9c51eb28fc
Make use of gethostname() conditional on it being available
2008-11-28 22:41:14 +00:00
65cafbe109
Refactor configure script detection of functions used to set sockets into
...
non-blocking mode, and decouple function detection from function capability.
2008-11-13 18:56:56 +00:00
aa8d8b4933
Adjust WIN32 freeaddrinfo, getaddrinfo and getnameinfo availability
2008-11-01 17:13:10 +00:00
d74c816b76
WIN32 availability of freeaddrinfo, getaddrinfo and getnameinfo functions is quite
...
convoluted, compiler dependant and in some cases even build target dependat.
2008-11-01 16:52:57 +00:00
746f3e2942
rearrange to allow internal/private use of ares_strcasecmp to any system that
...
lacks the strcasecmp function.
2008-09-15 15:28:26 +00:00
797372b0f4
strdup() clone for systems/configurations which lack it
2008-09-11 04:02:49 +00:00
2aeb0314f5
RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined
...
to the data type pointed by its respective argument and not the pointer type.
2008-07-17 03:07:54 +00:00
7dd6d7cbe1
Configure process now checks availability of recvfrom() socket function and
...
finds out its return type and the types of its arguments. Added definitions
for non-configure systems config files, and introduced macro sreadfrom which
will be used on udp sockets as a recvfrom() wrapper.
2008-07-16 19:16:41 +00:00
e04eb55f8e
MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP,
...
and makes wrong asumptions of build target when it isn't specified. So,
if no build target has been defined we will target WinXP when building
with MSVC 9.0 (VS2008).
2007-12-18 18:08:19 +00:00
8627b23715
Needed now that in6_addr is referenced in ares.h
2007-11-15 19:44:01 +00:00
70f98a29cb
MSVC versions prior to VS2005 do not complain about portable C functions
2007-11-07 18:18:42 +00:00
269e082f77
Windows build targets have socklen_t definition in ws2tcpip.h but some
...
versions of ws2tcpip.h do not have the definition. It seems that when
the socklen_t definition is missing from ws2tcpip.h the definition for
INET_ADDRSTRLEN is also missing, and that when one definition is present
the other one also is available.
2007-10-24 14:39:07 +00:00
657c69ce9d
Added HAVE_PROCESS_H for DOS/Win32.
...
Include <process.h> for getpid() in ares_init.c.
2007-02-06 19:09:57 +00:00
65fc05826e
Make sure RETSIGTYPE is properly defined
2006-11-25 01:02:52 +00:00
286eafac7b
Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILE
...
as appropriate for platforms that don't have autotools support
2006-11-24 16:38:58 +00:00
f0fe41b68b
Updated dependency output.
2006-10-31 20:45:17 +00:00
6bf04cdcad
Removed unneeded stuff.
2006-10-31 18:01:07 +00:00
ee3c1a1f1a
Added Watt-32 section to fix things for Watt32+Win32 targets.
2006-10-31 17:54:51 +00:00
69dcc701cf
Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support
2006-10-14 12:01:44 +00:00
e26ef987d7
Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.
2006-07-04 16:54:11 +00:00
26b2944fb9
Platforms that don't have/run configure need default values in their config files for:
...
HAVE_GETNAMEINFO, GETNAMEINFO_QUAL_ARG1, GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2, GETNAMEINFO_TYPE_ARG46, GETNAMEINFO_TYPE_ARG7
HAVE_RECV, RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3, RECV_TYPE_ARG4, RECV_TYPE_RETV
HAVE_SEND, SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3, SEND_TYPE_ARG4, SEND_TYPE_RETV
2006-07-04 16:10:13 +00:00
ac9950c3eb
Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the
...
rearrangement in ares_process.c.
2005-12-20 20:48:38 +00:00
4e7fa34c9c
Fix spacing. When defining, define to 1.
2005-12-18 16:50:33 +00:00
ecf65daa5e
Cleanup
2005-12-17 21:20:35 +00:00
9950522a46
'Fix' windows builds
2005-12-16 20:55:07 +00:00
d9f2b29e03
We have HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID.
2005-11-14 12:32:56 +00:00
6bc3b441c5
Easy configuration with this file.
2005-11-10 16:50:21 +00:00