mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12: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:
@ -1,5 +1,9 @@
|
||||
#ifndef PUTTY_UNIX_H
|
||||
#define PUTTY_UNIX_H
|
||||
/*
|
||||
* unix/platform.h: Unix-specific inter-module stuff.
|
||||
*/
|
||||
|
||||
#ifndef PUTTY_UNIX_PLATFORM_H
|
||||
#define PUTTY_UNIX_PLATFORM_H
|
||||
|
||||
#if HAVE_CMAKE_H
|
||||
#include "cmake.h"
|
||||
@ -457,4 +461,4 @@ bool cliloop_no_pw_setup(void *ctx, pollwrapper *pw);
|
||||
void cliloop_no_pw_check(void *ctx, pollwrapper *pw);
|
||||
bool cliloop_always_continue(void *ctx, bool, bool);
|
||||
|
||||
#endif /* PUTTY_UNIX_H */
|
||||
#endif /* PUTTY_UNIX_PLATFORM_H */
|
Reference in New Issue
Block a user