Yang Tse
bab721cb1c
setup_once.h cleanup and sync
13 years ago
Yang Tse
a8f62e82bf
config-win32.h: comments adjustments - followup
14 years ago
Yang Tse
3d7af9782e
config-win32.h: comments adjustments
14 years ago
Yang Tse
822fd0f877
build: use getenv() replacement function for systems which lack it
14 years ago
Yang Tse
8c503ddf79
System's errno.h inclusion cleanup.
...
System's errno.h is conditionally included from setup_once.h
14 years ago
Yang Tse
1cfd800d4a
config-win32: provide HAVE_ASSERT_H definition
14 years ago
Yang Tse
4d061e6b23
build: provide SIZEOF_SIZE_T definition for non-configure builds
14 years ago
Daniel Stenberg
63627fa5ab
remove all $Id$ lines
15 years ago
Yang Tse
b6ffa03a21
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
15 years ago
Yang Tse
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.
15 years ago
Yang Tse
76f24cfdbd
Fix Pelles C Win32 target compilation issues
15 years ago
Yang Tse
b7bb0a5722
Fix ssize_t redefinition errors on WIN64 reported by Alexey Simak
15 years ago
Yang Tse
262ff45c9d
use HAVE_LIMITS_H symbol to protect limits.h inclusion
16 years ago
Yang Tse
9e0140f455
Do not halt compilation when using VS2008 to build a Windows 2000 target
16 years ago
Gisle Vanem
ffbe1c5518
Added needed defines for Watt-32 on Windows.
16 years ago
Dan Fandrich
9c51eb28fc
Make use of gethostname() conditional on it being available
16 years ago
Yang Tse
65cafbe109
Refactor configure script detection of functions used to set sockets into
...
non-blocking mode, and decouple function detection from function capability.
16 years ago
Yang Tse
aa8d8b4933
Adjust WIN32 freeaddrinfo, getaddrinfo and getnameinfo availability
16 years ago
Yang Tse
d74c816b76
WIN32 availability of freeaddrinfo, getaddrinfo and getnameinfo functions is quite
...
convoluted, compiler dependant and in some cases even build target dependat.
16 years ago
Yang Tse
746f3e2942
rearrange to allow internal/private use of ares_strcasecmp to any system that
...
lacks the strcasecmp function.
16 years ago
Yang Tse
797372b0f4
strdup() clone for systems/configurations which lack it
16 years ago
Yang Tse
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.
17 years ago
Yang Tse
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.
17 years ago
Yang Tse
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).
17 years ago
Yang Tse
8627b23715
Needed now that in6_addr is referenced in ares.h
17 years ago
Yang Tse
70f98a29cb
MSVC versions prior to VS2005 do not complain about portable C functions
17 years ago
Yang Tse
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.
17 years ago
Gisle Vanem
657c69ce9d
Added HAVE_PROCESS_H for DOS/Win32.
...
Include <process.h> for getpid() in ares_init.c.
18 years ago
Yang Tse
65fc05826e
Make sure RETSIGTYPE is properly defined
18 years ago
Yang Tse
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
18 years ago
Gisle Vanem
f0fe41b68b
Updated dependency output.
18 years ago
Gisle Vanem
6bf04cdcad
Removed unneeded stuff.
18 years ago
Gisle Vanem
ee3c1a1f1a
Added Watt-32 section to fix things for Watt32+Win32 targets.
18 years ago
Yang Tse
69dcc701cf
Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support
18 years ago
Yang Tse
e26ef987d7
Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.
19 years ago
Yang Tse
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
19 years ago
Gisle Vanem
ac9950c3eb
Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the
...
rearrangement in ares_process.c.
19 years ago
Yang Tse
4e7fa34c9c
Fix spacing. When defining, define to 1.
19 years ago
Yang Tse
ecf65daa5e
Cleanup
19 years ago
Yang Tse
9950522a46
'Fix' windows builds
19 years ago
Gisle Vanem
d9f2b29e03
We have HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID.
19 years ago
Gisle Vanem
6bc3b441c5
Easy configuration with this file.
19 years ago