diff options
| author | Tor Lillqvist <tml@novell.com> | 2006-02-02 02:44:29 +0000 |
|---|---|---|
| committer | Tor Lillqvist <tml@src.gnome.org> | 2006-02-02 02:44:29 +0000 |
| commit | c69d2df5388136ec094d4ec1ca163fb7a04477f3 (patch) | |
| tree | 8c1d0d8af2e7bb59bb2978f571023f0f59c7ddb1 /configure.in | |
| parent | 4ca379e4481362276cede5f278d200e95454d93f (diff) | |
| download | evolution-data-server-c69d2df5388136ec094d4ec1ca163fb7a04477f3.tar.gz | |
Don't use getadrinfo() etc on Windows, as they are present on XP only.
2006-02-02 Tor Lillqvist <tml@novell.com>
* configure.in: Don't use getadrinfo() etc on Windows, as they are
present on XP only. Windows 2000 is still widespread.
* camel-net-utils.h
* camel-net-utils.c: Make it compile on Win32 also without
getaddrinfo() (with NEED_ADDRINFO).
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 3c6e8bc3a..2b422e686 100644 --- a/configure.in +++ b/configure.in @@ -145,13 +145,14 @@ AC_MSG_CHECKING([for Win32]) case "$host" in *-mingw*) os_win32=yes - AC_CACHE_VAL(have_addrinfo, [have_addrinfo=yes]) NO_UNDEFINED='-no-undefined' SOCKET_LIBS='-lws2_32 -ldnsapi' DL_LIB='' SOFTOKN3_LIB='' LIBEXECDIR_IN_SERVER_FILE='../../../libexec' - AC_DEFINE(_WIN32_WINNT, 0x501, [To get getaddrinfo etc declarations]) + # No, don't use Windows XP -only API + # AC_CACHE_VAL(have_addrinfo, [have_addrinfo=yes]) + # AC_DEFINE(_WIN32_WINNT, 0x501, [To get getaddrinfo etc declarations]) ;; *) os_win32=no NO_UNDEFINED='' |
