Browse Source

We need non-const sshver

Source commit: 960afd0a70f13768ca0053f3ae017b9e0885ca6b
Martin Prikryl 9 years ago
parent
commit
99da8a2db0
1 changed files with 5 additions and 1 deletions
  1. 5 1
      source/putty/ssh.h

+ 5 - 1
source/putty/ssh.h

@@ -504,7 +504,11 @@ void aes_ssh2_decrypt_blk(void *handle, unsigned char *blk, int len);
 /*
 /*
  * PuTTY version number formatted as an SSH version string. 
  * PuTTY version number formatted as an SSH version string. 
  */
  */
-extern const char sshver[];
+extern
+#ifndef MPEXT
+  const
+#endif
+  char sshver[];
 
 
 /*
 /*
  * Gross hack: pscp will try to start SFTP but fall back to scp1 if
  * Gross hack: pscp will try to start SFTP but fall back to scp1 if