1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Remove the switching system in puttyps.h.

It was there because of a limitation of mkfiles.pl, which had a single
list of include directories that it used on all platforms. CMake does
not. So now there's an easier and more sensible way to have a
different header file included on Windows and Unix: call it the same
name in the two subdirectories, and rely on CMake having put the right
one of those subdirs on the include path.
This commit is contained in:
Simon Tatham
2021-04-18 07:58:27 +01:00
parent 1c61fdf800
commit b00e5fb129
4 changed files with 12 additions and 26 deletions

View File

@ -5,7 +5,7 @@
#include <limits.h> /* for INT_MAX */
#include "defs.h"
#include "puttyps.h"
#include "platform.h"
#include "network.h"
#include "misc.h"
#include "marshal.h"