# HG changeset patch # User Daniel Atallah # Date 1127774681 0 # Node ID f1e07c3332d9698d568e08654f964f54bf91099e # Parent ea98c27f1a34ef7936e083cf213dfec1161845ec [gaim-migrate @ 13838] So... it turns out that the getaddrinfo situation on win32 is far worse than I thought. On < XP, there really is no getaddrinfo, apparently it is hacked into a header (which the win32-api doesn't support). Until the win32-api supports it, we will not be doing the getaddrinfo thing. committer: Tailor Script diff -r ea98c27f1a34 -r f1e07c3332d9 config.h.mingw --- a/config.h.mingw Mon Sep 26 01:07:53 2005 +0000 +++ b/config.h.mingw Mon Sep 26 22:44:41 2005 +0000 @@ -125,7 +125,7 @@ /* #undef HAVE_FGETS_UNLOCKED */ /* Define if you have the getaddrinfo function. */ -#define HAVE_GETADDRINFO 1 +/* #define HAVE_GETADDRINFO 1 */ /* Define if you have the getcwd function. */ #define HAVE_GETCWD 1 diff -r ea98c27f1a34 -r f1e07c3332d9 src/Makefile.mingw --- a/src/Makefile.mingw Mon Sep 26 01:07:53 2005 +0000 +++ b/src/Makefile.mingw Mon Sep 26 22:44:41 2005 +0000 @@ -29,7 +29,7 @@ CFLAGS = -DEFINES = -D_WIN32_WINNT=0x0501 +DEFINES = ifeq ($(MAKECMDGOALS), $(TARGET)-portable.exe) DEFINES := $(DEFINES) -DPORTABLE diff -r ea98c27f1a34 -r f1e07c3332d9 src/win_gaim.c --- a/src/win_gaim.c Mon Sep 26 01:07:53 2005 +0000 +++ b/src/win_gaim.c Mon Sep 26 22:44:41 2005 +0000 @@ -25,6 +25,10 @@ * */ +/* This is for ATTACH_PARENT_PROCESS */ +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x501 +#endif #include #include #include