Commit graph

9 commits

Author SHA1 Message Date
Guus Sliepen
fa9bedd47c Allow compiling for Windows XP and higher.
This allows us to use getaddrinfo(), getnameinfo() and related functions, which
allow tinc to make connections over existing IPv6 networks. These functions are
not available on Windows 2000 however. By default, support is enabled, but when
compiling for Windows 2000 the configure switch --with-windows2000 should be
used.

Since getaddrinfo() et al. are not functions but macros on Windows, we have to
use AC_CHECK_DECLS() instead of AC_CHECK_FUNCS() in configure.in.
2009-09-15 00:24:31 +02:00
Guus Sliepen
5b556c0971 Forgot to #include "xalloc.h" 2003-10-08 11:33:54 +00:00
Guus Sliepen
2236e05e51 Fix fake getnameinfo() and check more arguments. 2003-08-17 08:32:39 +00:00
Guus Sliepen
03995ca52e Simplify fake getname/addrinfo() functions, possibly fixing freeing a NULL pointer. 2003-08-16 12:10:28 +00:00
Guus Sliepen
c1e8152f4f Be consistent. 2003-07-21 13:14:02 +00:00
Guus Sliepen
e449d94cae Big header file cleanup: everything that has to do with standard system
libraries is moved to system.h.
2003-07-17 15:06:27 +00:00
Guus Sliepen
2a7f11c0e9 More missing IPv6 definitions and autoconf checks to make sure it compiles
under Solaris 2.6.
2003-07-11 16:13:00 +00:00
Guus Sliepen
f6905582d0 Make sure malloc() is declared. 2002-09-10 22:13:22 +00:00
Guus Sliepen
c4cd199357 Include complete fake-getname/addrinfo from OpenSSH. 2002-07-12 11:45:21 +00:00