mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
`ssh-default': change the /DSSH_DEFAULT flag to a /DTELNET_DEFAULT one
and note its existence in Recipe. As far as I can tell there are no documentation changes required. [originally from svn r2608]
This commit is contained in:
parent
8cb6506cd3
commit
b5e348c872
5
Recipe
5
Recipe
@ -67,6 +67,11 @@
|
|||||||
# Cygnus/mingw32, whose resource compiler may have less of a
|
# Cygnus/mingw32, whose resource compiler may have less of a
|
||||||
# problem with it.
|
# problem with it.
|
||||||
#
|
#
|
||||||
|
# - XFLAGS=/DTELNET_DEFAULT
|
||||||
|
# Causes PuTTY to default to the Telnet protocol (in the absence
|
||||||
|
# of Default Settings and so on to the contrary). Normally PuTTY
|
||||||
|
# will default to SSH.
|
||||||
|
#
|
||||||
# - XFLAGS=/DDEBUG
|
# - XFLAGS=/DDEBUG
|
||||||
# Causes PuTTY to enable internal debugging.
|
# Causes PuTTY to enable internal debugging.
|
||||||
#
|
#
|
||||||
|
5
putty.h
5
putty.h
@ -371,9 +371,10 @@ struct config_tag {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* You can compile with -DSSH_DEFAULT to have ssh by default.
|
* You can compile with -DTELNET_DEFAULT to have telnet by default
|
||||||
|
* (otherwise SSH is the default).
|
||||||
*/
|
*/
|
||||||
#ifndef SSH_DEFAULT
|
#ifdef TELNET_DEFAULT
|
||||||
#define DEFAULT_PROTOCOL PROT_TELNET
|
#define DEFAULT_PROTOCOL PROT_TELNET
|
||||||
#define DEFAULT_PORT 23
|
#define DEFAULT_PORT 23
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user