Mercurial > pidgin
diff src/win_gaim.c @ 11441:9f6df41df587
[gaim-migrate @ 13678]
Update for win32api-3.3. The mingw_plus stuff isn't necessary anymore :). Define _WIN32_WINNT 0x0501 for src/*, this fixes a compile error for getaddrinfo - this *shouldn't* break Win98/ME because the functions are still there - just defined in a different header.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 04 Sep 2005 18:30:15 +0000 |
parents | e865bdbbf91d |
children | d83e1fe99d69 |
line wrap: on
line diff
--- a/src/win_gaim.c Sun Sep 04 18:22:45 2005 +0000 +++ b/src/win_gaim.c Sun Sep 04 18:30:15 2005 +0000 @@ -25,20 +25,12 @@ * */ -#ifndef _WIN32_WINNT -# define _WIN32_WINNT 0x0501 -#endif #include <windows.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <stdio.h> -/** Currently missing from win32-api */ -#ifndef ATTACH_PARENT_PROCESS -# define ATTACH_PARENT_PROCESS -1 -#endif - #define WIN32_PROXY_REGKEY "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings" typedef int (CALLBACK* LPFNGAIMMAIN)(HINSTANCE, int, char**);