mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 09:37:34 -05:00
The WinSock library is now loaded at run-time, which means we can
attempt to load WS2 and then fall back to WS1 if that fails. This should allow us to use WS2-specific functionality to find out the local system's list of IP addresses, thus fixing winnet-if2lo, while degrading gracefully back to the previous behaviour if that functionality is unavailable. (I haven't yet actually done this; I've just laid the groundwork.) This checkin _may_ cause instability; it seemed fine to me on initial testing, but it's a bit of an upheaval and I wouldn't like to make bets on it just yet. [originally from svn r3502]
This commit is contained in:
@ -2,10 +2,6 @@
|
||||
* Pageant: the PuTTY Authentication Agent.
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#ifndef NO_SECURITY
|
||||
#include <aclapi.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
@ -16,7 +12,10 @@
|
||||
#include "ssh.h"
|
||||
#include "misc.h"
|
||||
#include "tree234.h"
|
||||
#include "winstuff.h"
|
||||
|
||||
#ifndef NO_SECURITY
|
||||
#include <aclapi.h>
|
||||
#endif
|
||||
|
||||
#define IDI_MAINICON 200
|
||||
#define IDI_TRAYICON 201
|
||||
|
Reference in New Issue
Block a user