Artifact ad1848981b1faefa0df889aa9563692dd5c4e5c0:
- File puttyps.h — part of check-in [6773da81d2] at 2003-10-12 08:46:12 on branch trunk — 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. (user: simon size: 179)
#ifndef PUTTY_PUTTYPS_H #define PUTTY_PUTTYPS_H #ifdef _WINDOWS #include "winstuff.h" #elif defined(macintosh) #include "macstuff.h" #else #include "unix.h" #endif #endif