On Jul 12, 2007, at 10:26 AM, Guenter Knauf wrote:

> Hi Jim,
>>> 200706012030L ?
>
>> I would think a LONG would work, or we need to make a second constant
>> to use, so as not to break the comparison of existing software that
>> doesn't have the problem with the long.
> when I'm just going to change this - I think we should also ask for  
> existance of LIBSSH2_APINO since older libssh2 dont have it, right?
>
> --- #if defined(USE_LIBSSH2) && (LIBSSH2_APINO >= 200706012030)
> +++ #if defined(USE_LIBSSH2) && defined(LIBSSH2_APINO) &&  
> (LIBSSH2_APINO >= 200706012030L)

Here is the change I will commit:

Index: include/libssh2.h
===================================================================
RCS file: /cvsroot/libssh2/libssh2/include/libssh2.h,v
retrieving revision 1.76
diff -u -r1.76 libssh2.h
--- include/libssh2.h   9 Jul 2007 22:47:24 -0000       1.76
+++ include/libssh2.h   12 Jul 2007 14:42:29 -0000
@@ -80,7 +80,7 @@
#endif
#define LIBSSH2_VERSION                             "0.16-CVS"
-#define LIBSSH2_APINO                               200706151200
+#define LIBSSH2_APINO                               200706151200L
/* Part of every banner, user specified or not */
#define LIBSSH2_SSH_BANNER                          "SSH-2.0- 
libssh2_" LIBSSH2_VERSION


Jim

--

/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
                      http://www.FreeBSD.org     The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
---------------------------------------------------------------------
"Eagles may soar, but weasels don't get sucked into jet engines"
     -- Anon



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to