changeset 11570:f1e07c3332d9

[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 <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 26 Sep 2005 22:44:41 +0000
parents ea98c27f1a34
children dd5a40c6699f
files config.h.mingw src/Makefile.mingw src/win_gaim.c
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
--- 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 <windows.h>
 #include <fcntl.h>
 #include <stdlib.h>